Ibn Umar (Allah be pleased with them) reported that Messenger of Allah ﷺ contracted with the people of Khaibar the (trees) on the condition that he would have half the produce in fruits and harvest.
أَنَّ رَسُولَ اللَّهِ ﷺ عَامَلَ أَهْلَ خَيْبَرَ بِشَطْرِ مَا يَخْرُجُ مِنْهَا مِنْ ثَمَرٍ أَوْ زَرْعٍ