It was narrated from Ibn 'Umar that the Prophet gave the datepalms of Khaibar and their land to the Jews of Khaibar, on condition that they would take care of them at their expense, and the Messenger of Allah would have half of whatever they produced.
أَنَّ النَّبِيَّ ﷺ دَفَعَ إِلَى يَهُودِ خَيْبَرَ نَخْلَ خَيْبَرَ وَأَرْضَهَا عَلَى أَنْ يَعْمَلُوهَا مِنْ أَمْوَالِهِمْ وَأَنَّ لِرَسُولِ اللَّهِ ﷺ شَطْرَ مَا يَخْرُجُ مِنْهَا