Sahih al-Bukhari, Volume 5, Book 59, Hadith 590 (USC-MSA)

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 Apostle have made the selling of wine (i.e. alcoholic drinks) unlawful."

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

sunnah.com