Hadithcore
Hadith #2110990

Muslims' narration has:

"The option to buy a partner's share in property is applicable to everything which is shared, whether land, a dwelling or a garden and it is not lawful to sell before informing one's partner."

وَفِي رِوَايَةِ مُسْلِمٍ: { اَلشُّفْعَةُ فِي كُلِّ شِرْكٍ: أَرْضٍ, أَوْ رَبْعٍ, أَوْ حَائِطٍ, لَا يَصْلُحُ أَنْ يَبِيعَ حَتَّى يَعْرِضَ عَلَى شَرِيكِهِ } [1]‏ .‏

References2 variants
Sunnah.com reference
Book 7, Hadith 147
Arabic/English book reference
Book 7, Hadith 0