Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) says that the Messenger of Allah (peace and blessings be upon him) "forbade selling (fruit) for years ahead and ordered that the price be reduced on account of calamity."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10628