The Prophet (ﷺ) forbade selling fruits years ahead, and commanded that unforeseen loss be remitted in respect of what is affected by blight.

Abu Dawud said: The attribution of the tradition regarding the effect of blight is one-third of the produce to the Prophet (ﷺ) is not correct. This is the opinion of the people of Medina.
Sunan Abi Dawud Book 23, Hadith 49