Sunan an-Nasa'i, Book 44, Hadith 178 (Nasa'i 4636)

It was narrated that Jabir said:

"The Messenger of Allah forbade selling the produce several years in advance.