Hadith
حَدَّثَنَا ابْنُ مُقَاتِلٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا عُبَيْدُ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أَعْطَى خَيْبَرَ الْيَهُودَ عَلَى أَنْ يَعْمَلُوهَا وَيَزْرَعُوهَا، وَلَهُمْ شَطْرُ مَا خَرَجَ مِنْهَا.
Narrated Ibn `Umar:Allah's Messenger (ﷺ) gave the land of Khaibar to the Jew's on the condition that they work on it and cultivate it, and be given half of its yield
Sahih
Sahih al-Bukhari 2331 ·Book 41, Hadith 12·Also available on sunnah.com·