(8) باب الشَّرِكَةِ فِي الأَرَضِينَ وَغَيْرِهَا
Narrated Jabir bin `Abdullah:
The Prophet (ﷺ) established the right of Shu'fa (i.e. Preemption) in joint properties; but when the land is divided and the ways are demarcated, then there is no pre-emption.
Reference: Sahih al-Bukhari 2495
In-book reference: Book 47, Hadith 13
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 44, Hadith 675