It was narrated from Jabir that:
the Messenger of Allah forbade selling the produce several years in advance.