Sahih al-Bukhari, Book 64, Hadith 79 (Bukhari 3863)
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.