The Prophet (ﷺ) had forbidden the sale of fruits till they were ripe (free from blight).

Sahih al-Bukhari Book 24 Hadith 88

Sahih al-Bukhari #1487

Obligatory Charity Tax (Zakat) 24:88

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) had forbidden the sale of fruits till they were ripe (free from blight).

Chapter: Whoever sold his fruits, trees, land or crops and gave Zakat from some other property

Grade: Sahih