Sahih al-Bukhari 2195
Sahih al-Bukhari · Book 34: Sales and Trade · The sale of fruits before their benefit is evident
Narrated Anas:
حَدَّثَنَا ابْنُ مُقَاتِلٍ ، أَخْبَرَنَا عَبْدُ اللَّهِ ، أَخْبَرَنَا حُمَيْدٌ الطَّوِيلُ ، عَنْ أَنَسٍ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ تُبَاعَ ثَمَرَةُ النَّخْلِ حَتَّى تَزْهُوَ. قَالَ أَبُو عَبْدِ اللَّهِ يَعْنِي حَتَّى تَحْمَرَّ .
Allah's Messenger (ﷺ) forbade the sale of date fruits till they were ripe. Abu `Abdullah (Al-Bukhari) said, "That means till they were red (can be eaten).