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