Hadithcore
Sahih al-Bukhari, 5584
sahih

Narrated Anas bin Malik:

Alcoholic drinks were prohibited. At that time these drinks used to be prepared from unripe and ripe dates.

حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي بَكْرٍ الْمُقَدَّمِيُّ، حَدَّثَنَا يُوسُفُ أَبُو مَعْشَرٍ الْبَرَّاءُ، قَالَ سَمِعْتُ سَعِيدَ بْنَ عُبَيْدِ اللَّهِ، قَالَ حَدَّثَنِي بَكْرُ بْنُ عَبْدِ اللَّهِ، أَنَّ أَنَسَ بْنَ مَالِكٍ، حَدَّثَهُمْ أَنَّ الْخَمْرَ حُرِّمَتْ، وَالْخَمْرُ يَوْمَئِذٍ الْبُسْرُ وَالتَّمْرُ‏.‏

References2 variants
In-Book Reference
Book 74, Hadith 10
USC-MSA web (English) reference
Vol. 7, Book 69, Hadith 490 (deprecated numbering scheme)