It was narrated that Jabir said:
"The Messenger of Allah (ﷺ) said: 'Whoever has a date-palm tree or land, should not sell it until he has offered it to his partner.' "
English reference: Vol. 3, Book 17, Hadith 2492
Arabic reference: Book 17, Hadith 2587