Sahih al-Bukhari, Book 34, Hadith 142 (In-Book) ⓘ
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).
حَدَّثَنَا ابْنُ مُقَاتِلٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا حُمَيْدٌ الطَّوِيلُ، عَنْ أَنَسٍ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ تُبَاعَ ثَمَرَةُ النَّخْلِ حَتَّى تَزْهُوَ. قَالَ أَبُو عَبْدِ اللَّهِ يَعْنِي حَتَّى تَحْمَرَّ.
also referenced under: Hadith 2195 (DarusSalam) & Volume 3, Book 34, Hadith 400 (USC-MSA)