Ibn 'Abbas (RA) reported that when Allah's Prophet (ﷺ) came to Madinah, they were paying one and two years in advance for fruits, so he said: Those who pay in advance for anything must do so for a specified weight and for a definite time.
Hadith ReferenceSahih Muslim / The Book of Musaqah / Hadith: 1604