Sahih Bukhari | Volume 3 | Hadith Number 881

Narrated by Abdullah bin Umar
Allah's Apostle 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.