Abdullah bin Umar reported,

When Khaybar was conquered, the Jews asked the Messenger of Allah ﷺ to let them remain there in exchange for working the land for half of whatever it produced of fruit and crops. The Messenger of Allah ﷺ replied, "We will let you remain on those terms for as long as we wish."The narration also states, "The fruit was divided into shares from half of Khaybar's produce, and the Messenger of Allah ﷺ took the fifth."

Azami 5563

Sahih

عن عبد الله بن عمر قال

لما افتتحت خيبر سألت يهود رسول الله ﷺ أن يقرهم فيها على أن يعملوا على نصف ما خرج منها من الثمر والزرع، فقال رسول الله ﷺ: أقركم فيها على ذلك ما شئنا. وفيه: وكان الثمر يقسم على السهمان من نصف خيبر، فيأخذ رسول الله ﷺ الخمس.

الأعظمي 5563صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Sales
Chapter
Muzaraa and musaqa
Section
Permissibility of Kira Ard for a portion of what the land produces, and for gold and silver and everything that may be a price for sales, provided that the invalid conditions are absent
Numbering
Jami al-Kamil 5563 (2nd edition)
Azami 5563