It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) made an arrangement with the people of Khaybar that "of the produce of fruits and grain, half will be ours and half yours."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المساقاة / 11621