Sahih al-Bukhari 2720
Sahih al-Bukhari · Book 54: Conditions · Conditions in contracts (of share-cropping etc.)
Narrated `Abdullah bin `Umar:
حَدَّثَنَا مُوسَى ، حَدَّثَنَا جُوَيْرِيَةُ بْنُ أَسْمَاءَ ، عَنْ نَافِعٍ ، عَنْ عَبْدِ اللَّهِ ـ رضى الله عنه ـ قَالَ أَعْطَى رَسُولُ اللَّهِ صلى الله عليه وسلم خَيْبَرَ الْيَهُودَ أَنْ يَعْمَلُوهَا وَيَزْرَعُوهَا، وَلَهُمْ شَطْرُ مَا يَخْرُجُ مِنْهَا.
Allah's Messenger (ﷺ) gave the land of Khaibar to the Jews on the condition that they would work on it and cultivate it and they would get half of its yield.