Yahya related to me from Malik from Ibn Shihab from Said ibn al- Musayyab that the Messenger of Allah ﷺ said to the jews of Khaybar on the day of the conquest of Khaybar, "I confirm you in it as long as Allah, the Mighty, the Majestic, establishes you in it, provided that the fruits are divided between us and you." Said continued, "The Messenger of Allah ﷺ used to send Abdullah ibn Rawaha, to assess the division of the fruit crop between him and them, and he would say, 'If you wish, you can buy it back, and if you wish, it is mine.' They would take it."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لِيَهُودِ خَيْبَرَ يَوْمَ افْتَتَحَ خَيْبَرَ أُقِرُّكُمْ فِيهَا مَا أَقَرَّكُمُ اللَّهُ ﷻ عَلَى أَنَّ الثَّمَرَ بَيْنَنَا وَبَيْنَكُمْ قَالَ فَكَانَ رَسُولُ اللَّهِ ﷺ يَبْعَثُ عَبْدَ اللَّهِ بْنَ رَوَاحَةَ فَيَخْرُصُ بَيْنَهُ وَبَيْنَهُمْ ثُمَّ يَقُولُ إِنْ شِئْتُمْ فَلَكُمْ وَإِنْ شِئْتُمْ فَلِيَ فَكَانُوا يَأْخُذُونَهُ