It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: If anyone among you has a partner in a garden, he should not sell it to anyone else without first offering it to his partner.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14854
Hadith Gradingحکم دارالسلام:إسناده صحيح، قاله أحمد شاكر