It was narrated from Anas bin Malik that :
the Messenger of Allah (ﷺ) forbade selling fruits until they have changed the color, and selling grapes until they have turned black, and selling grains until they have hardened.
English reference: Vol. 3, Book 12, Hadith 2217
Arabic reference: Book 12, Hadith 2302