Allah's Messenger (ﷺ) gave the land of Khaibar to the Jews on the condition that they…

Sahih al-Bukhari Book 54 Hadith 9

Sahih al-Bukhari #2720

Conditions 54:9

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.

Chapter: Conditions in contracts (of share-cropping etc.)

Grade: Sahih