Allah's Messenger (ﷺ) forbade Muzabana and Muhaqala; and Muzabana means the selling of ripe dates for dates still on the trees.
Sahih al-Bukhari Book 34, Hadith 133