Alcoholic drinks were prohibited. At that time these drinks used to be prepared from unripe and ripe dates.
Sahih al-Bukhari Book 74, Hadith 10