Sahih al-Bukhari #4030
Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) 64:79
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.