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."
لما افتتحت خيبر سألت يهود رسول الله ﷺ أن يقرهم فيها على أن يعملوا على نصف ما خرج منها من الثمر والزرع، فقال رسول الله ﷺ: أقركم فيها على ذلك ما شئنا. وفيه: وكان الثمر يقسم على السهمان من نصف خيبر، فيأخذ رسول الله ﷺ الخمس.