Sahih Bukhari | Volume 3 | Hadith Number 675

Narrated by Jabir bin 'Abdullah
The Prophet established the right of Shu'fa (i.e. Pre-emption) in joint properties; but when the land is divided and the ways are demarcated, then there is no pre-emption.