Hadithcore
Sahih al-Bukhari, 4296
sahih

Narrated Jabir bin `Abdullah:

That he heard Allah's Messenger (ﷺ) saying in the year of the Conquest (of Mecca) while he was in Mecca, "Allah and His Messenger have made the selling of wine (i.e. alcoholic drinks) unlawful."

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ـ رضى الله عنهما ـ أَنَّهُ سَمِعَ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ عَامَ الْفَتْحِ وَهْوَ بِمَكَّةَ ‏

‏ إِنَّ اللَّهَ وَرَسُولَهُ حَرَّمَ بَيْعَ الْخَمْرِ ‏

‏‏.‏

References2 variants
In-Book Reference
Book 64, Hadith 329
USC-MSA web (English) reference
Vol. 5, Book 59, Hadith 590 (deprecated numbering scheme)