Sahih al-Bukhari, Book 47, Hadith 16 (Bukhari 2402)

Narrated `Abdullah:

Allah's Messenger (ﷺ) rented the land of Khaibar to the Jews on the condition that they would work on it and cultivate it and take half of its yield.