Ahmad ibn Yunus narrated to us, Zuhayr narrated to us, Abu al-Zubayr narrated to us, from Jabir. And Yahya ibn Yahya narrated to us, Abu Khaythamah informed us, from Abu al-Zubayr, from Jabir, who said: The Messenger of Allah, peace and blessings be upon him, said: "Whoever has a partner in a piece of land or palm trees, he must not sell until he informs his partner. If he is pleased, he takes it, and if he dislikes, he leaves it."
Jabir bin 'Abdullah (RA) 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.
Jabir bin 'Abdullah (RA) 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.