The Messenger of Allah ﷺ said, "The right of preemption applies to every shared property, whether land, a dwelling, or a walled garden. It is not permissible for a partner to sell his share until he first offers it to his partner, who may then take it or decline. If he refuses to make the offer, his partner still has the greater right to it until he is duly notified."
و حدثني أبو الطاهر أخبرنا ابن وهب عن ابن جريج أن أبا الزبير أخبره أنه سمع
ا قال رسول الله ﷺ الشفعة في كل شرك في أرض أو ربع أو حائط لا يصلح أن يبيع حتى يعرض على شريكه فيأخذ أو يدع فإن أبى فشريكه أحق به حتى يؤذنه