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
Hadith No. 4248
Sahih al Bukhari