Sahih Bukhari | Volume 3 | Hadith Number 400

Narrated by Anas
Allah's Apostle forbade the sale of date fruits till they were ripe. Abu 'Abdullah (Al- Bukhari) said, "That means till they were red (can be eaten)."