It was narrated that Anas bin Malik said:
"When the Messenger of Allah (ﷺ) conquered Khaibar, he gave it (to its people) in return for half (of its yield)."
English reference: Vol. 3, Book 16, Hadith 2469
Arabic reference: Book 16, Hadith 2563