Volume 3 · Book 34 · Hadith 400
Narrated 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)."
— Sahih Bukhari, Volume 3, Book 34: Sales and Trade, Hadith #400