The Messenger of Allah ﷺ said, "Whoever has a partner in a property or a date palm grove may not sell his share until he notifies his partner. If the partner agrees, he may take it, and if he declines, he may leave it."
قال رسول الله ﷺ: من كان له شريك في ربعة، أو نخل، فليس له أن يبيع حتى يؤذن شريكه، فإن رضي أخذ، وإن كره ترك.