Sunan an-Nasa'i, Book 44, Hadith 77 (Nasa'i 4535)

It was narrated that Jabir said:

"the Messenger of Allah forbade selling the fruit of date palms until they are fit to eat."