Bulugh al-Maram, Book 10, Hadith 1282 (English)

Mu'awiyah (RAA) narrated that the Messenger of Allah said regarding the one who drinks alcohol, 'If he drinks (for the first time) flog him, then if he drinks for the second time flog him, then if he drinks for the third time flog him then if he drinks for the fourth time you should kill him." Related by Ahmad and the wording is his. It is also transmitted by the four Imams.

وَعَنْ مُعَاوِيَةَ ‏- رضى الله عنه ‏- عَنْ اَلنَّبِيِّ ‏- صلى الله عليه وسلم ‏-أَنَّهُ قَالَ فِي شَارِبِ اَلْخَمْرِ: { إِذَا شَرِبَ فَاجْلِدُوهُ, ثُمَّ إِذَا شَرِبَ [ اَلثَّانِيَةِ ] فَاجْلِدُوهُ, ثُمَّ إِذَا شَرِبَ اَلثَّالِثَةِ فَاجْلِدُوهُ, ثُمَّ إِذَا شَرِبَ اَلرَّابِعَةِ فَاضْرِبُوا عُنُقَهُ } أَخْرَجَهُ أَحْمَدُ وَهَذَا لَفْظُهُ, وَالْأَرْبَعَة ُ (1619)‏.‏ ‏1 ‏- صحيح رواه أحمد ( 4 / 96 و 101 )‏ والنسائي في " الكبرى"، وأبو داود ( 4482 )‏، والترمذي ( 1444 )‏، وابن ماجه ( 2573 )‏.‏

sunnah.com

also referenced under: Book 10, Hadith 1243 (In-Book)

At-Tirmidhi mentioned what indicates that it is abrogated, but Abu Dawud reported it clearly on the authority of Az-Zuhari.

وَذَكَرَ اَلتِّرْمِذِيُّ مَا يَدُلُّ عَلَى أَنَّهُ مَنْسُوخٌ, وَأَخْرَجَ ذَلِكَ أَبُو دَاوُدَ صَرِيحًا عَنْ اَلزُّهْرِيّ ِ (1620)‏.‏ ‏2 ‏- الاحتجاج بنسخ الحديث مجرد دعوى كما بين ذلك العلامة الشيخ أحمد شاكر رحمه الله في بحثه النفيس على مسند الإمام أحمد عند الحديث رقم ( 6197 )‏ والذي طبع مفردا بعد ذلك.‏

sunnah.com

also referenced under: Book 10, Hadith 1243 (In-Book)