It was narrated from Ibn `Umar that :
the Messenger of Allah (ﷺ) entered into a contract with the people of Khaibar for one half of the fruits or crops yielded. (AR)
English reference (AR): Vol. 3, Book 16, Hadith 2467 (AR)
Arabic reference (AR): Book 16, Hadith 2561 (AR)