Allah's Messenger (ﷺ) forbade the selling of fruits until they were ripe. The Prophet (p.b.u.h) added, "It means that they become red ."
Sahih al-Bukhari Book 24, Hadith 88