It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Prophet Muhammad (peace be upon him) forbade selling the fruits of trees for multiple years and ordered that (the amount) be remitted in case of loss due to calamities.
Hadith Referenceالسنن المأثورة / باب في البيوع / 201
Hadith Takhrijسنن ابی داؤد، البيوع، باب في بيع السنين، رقم : 3374 وقال الالبانی: صحيح ۔