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)." (DE)
English reference (DE): Vol. 3, Book 16, Hadith 2469 (DE)
Arabic reference (DE): Book 16, Hadith 2563 (DE)