It was narrated that Anas bin Malik said:
"When the Messenger of Allah (ﷺ) gave Khaibar to its people in return of its palm trees and land. (ID)
English reference (ID): Vol. 3, Book 16, Hadith 2468 (ID)
Arabic reference (ID): Book 16, Hadith 2562 (ID)