Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:5598Muḥammad b. Kathīr > Sufyān > Abū al-Jūwayriyah > Saʾalt Ibn ʿAbbās > al-Bādhaq > Sabaq Muḥammad ﷺ al-Bādhaq Famā Askar Fahw Ḥarām > al-Sharāb al-Ḥalāl al-Ṭayyib

I asked Ibn ʿAbbas about Al-Badhaq. He said, "Muhammad prohibited alcoholic drinks before It was called Al-Badhaq (by saying), 'Any drink that intoxicates is unlawful.' I said, 'What about good lawful drinks?' He said,'Apart from what is lawful and good, all other things are unlawful and not good (unclean Al-Khabith).  

البخاري:٥٥٩٨حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ أَخْبَرَنَا سُفْيَانُ عَنْ أَبِي الْجُوَيْرِيَةِ قَالَ سَأَلْتُ ابْنَ عَبَّاسٍ عَنِ الْبَاذَقِ فَقَالَ

سَبَقَ مُحَمَّدٌ ﷺ الْبَاذَقَ فَمَا أَسْكَرَ فَهْوَ حَرَامٌ قَالَ الشَّرَابُ الْحَلاَلُ الطَّيِّبُ قَالَ لَيْسَ بَعْدَ الْحَلاَلِ الطَّيِّبِ إِلاَّ الْحَرَامُ الْخَبِيثُ