It was narrated from Jabir that:
the Prophet forbade selling the harvest for a number of years (in advance.)