From Sahih Muslim (Hadith 3891):
Sahl b. Abu Hathma reported Allah's Messenger (ﷺ) having forbidden Muzabana, i. e. exchange of fresh dates with dry dates. except in case of those to whom donations of some trees have been made. It is for them that concession has been given
Reference: Muslim 3891