(28) باب الشُّفْعَةِ
Jabir bin 'Abdullah (Allah be pleased with them) said that the Messenger of Allah (ﷺ) decreed pre-emption in every joint ownership and not divided-the one-it may be a dwelling or a garden. It is not lawful for him (for the partner) to sell that until his partner gives his consent. He (the partner) is entitled to buy it when he desires and he can abandon it if he so likes. And if he (the one partner) sells it without getting the consent of the (other partner), he has the greatest right to it.
Reference: Sahih Muslim 1608 b
In-book reference: Book 22, Hadith 167
USC-MSA web (English) reference(deprecated numbering scheme): Book 10, Hadith 3916