Messenger of Allah ﷺ gave the land of Khaibar to the Jew's on the condition that they work on it and cultivate it, and be given half of its yield. (Using translation from Bukhārī 2331)
عَنِ رَسُولِ اللهِ ﷺ أَنَّهُ «أَعْطَى اليَهُودَ خَيْبَرَ عَلَى أَنْ يَعْمَلُوهَا وَيَزْرَعُوهَا وَلَهُمْ شَطْرُ مَا يَخْرُجُ مِنْهَا»