Sunan an-Nasa'i, Book 44, Hadith 84 (Nasa'i 4542)

It was narrated from Salim, from his father, that:

the Prophet forbade selling fresh dates still on the tree for dried dates. Ibn 'Umar said: "Azid bin Thabit narrated to me, that Allah's Messenger permitted that in the case o 'Ayaya"'