Sahih al-Bukhari, Book 34, Hadith 143 (Bukhari 2115)

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) forbade the s of (date) fruits till they were red or yellow and fit for eating.