the Messenger of Allah ﷺ entered into a contract with the people of Khaibar for one half of the fruits or crops yielded. (Using translation from Ibn Mājah 2467)
أَنَّ رَسُولَ اللَّهِ ﷺ «عَامَلَ خَيْبَرَ بِشَطْرِ مَا يَخْرُجُ مِنْهَا مِنْ ثَمَرَةٍ أَوْ زَرْعٍ»