(40) باب مُعَامَلَةُ النَّبِيِّ صلى الله عليه وسلم أَهْلَ خَيْبَرَ
Narrated `Abdullah:
The Prophet (ﷺ) gave (the land of) Khaibar to the Jews (of Khaibar) on condition that they would work on it and cultivate it and they would have half of its yield.
Reference: Sahih al-Bukhari 4248
In-book reference: Book 64, Hadith 283
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 59, Hadith 550