the Prophet (ﷺ) forbade selling fruits until they have ripened.

Sunan Ibn Majah Book 12, Hadith 80