Narrated `Abdullah bin `Umar:Allah's Messenger (ﷺ) 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
Hadith No. 2720
Sahih al Bukhari