Sunan an-Nasa'i, Book 44, Hadith 83 (Nasa'i 4541)

It was narrated from Jabir that:

the Prophet forbade selling the harvest for a number of years (in advance.)