Sahih Bukhari Volume 3, Book 44, Hadith Number 675.
Narated 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.