Sahih al-Bukhari 4030
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · The story of Bani An-Nadir
Narrated Anas bin Malik:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ أَبِي الأَسْوَدِ ، حَدَّثَنَا مُعْتَمِرٌ ، عَنْ أَبِيهِ ، سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه قَالَ كَانَ الرَّجُلُ يَجْعَلُ لِلنَّبِيِّ صلى الله عليه وسلم النَّخَلاَتِ حَتَّى افْتَتَحَ قُرَيْظَةَ وَالنَّضِيرَ، فَكَانَ بَعْدَ ذَلِكَ يَرُدُّ عَلَيْهِمْ.
Some people used to allot some date palm trees to the Prophet (ﷺ) as gift till he conquered Banu Quraiza and Bani An-Nadir, where upon he started returning their date palms to them.