Language:
كتاب المغازى
64  
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
(40)
Chapter: Prophet’s (saws) dealing with the people of Khaibar
(40)
باب مُعَامَلَةُ النَّبِيِّ صلى الله عليه وسلم أَهْلَ خَيْبَرَ
Sahih al-Bukhari 4248

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 : Vol. 5, Book 59, Hadith 550
  (deprecated numbering scheme)