(28) باب الشُّفْعَةِ
Jabir b. 'Abdullah (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying:
There is pre-emption in everything which is shared, be it land, or a dwelling or a garden. It is not proper to sell it until he informs his partner; he may go in for that, or he may abandon it; and it he (the partner intending to sell his share) does not do that, then his partner has the greatest right to it until he permits him.
Reference: Sahih Muslim 1608 c
In-book reference: Book 22, Hadith 168
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3917