The Prophet (ﷺ) forbade the mixing of ripe and unripe dates and also the mixing of dates…

Sahih al-Bukhari Book 74 Hadith 28

Sahih al-Bukhari #5602

Drinks 74:28

Narrated Abu Qatada:

The Prophet (ﷺ) forbade the mixing of ripe and unripe dates and also the mixing of dates and raisins (for preparing a syrup) but the syrup of each kind of fruit should be prepared separately. ( One may have such drinks as long as it is fresh )

Chapter: Unripe-date drink and ripe-date drink should not be mixed if it is an intoxicant, and two cooked foods should not be put in one dish

Grade: Sahih