The Prophet ﷺ handed over the Jews of Khaibar the palm trees and the land of Khaibar on condition that they should employ what belonged to them in working on them, and that he should have half of the fruits. (Using translation from Abū Dāʾūd 3409)
أَنَّ النَّبِيَّ ﷺ «دَفَعَ إِلَى يَهُودِ خَيْبَرَ نَخْلَ خَيْبَرَ وَأَرْضَهَا عَلَى أَنْ يَعْتَمِلُوهَا مِنْ أَمْوَالِهِمْ وَأَنَّ لِرَسُولِ اللهِ ﷺ شَطْرَ ثَمَرَتِهَا»