Sunan an-Nasa'i, Book 51, Hadith 123 (In-Book)

It was narrated that Ibn 'Umar and a number of the Companions of Muhammad [SAW] said: "The Messenger of Allah [SAW] said: 'Whoever drinks Khamr, whip him; then if he drinks (again), whip him; then if he drinks (again), whip him; then if he drinks (again), kill him.'"

أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا جَرِيرٌ، عَنْ مُغِيرَةَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي نُعْمٍ، عَنِ ابْنِ عُمَرَ، وَنَفَرٍ، مِنْ أَصْحَابِ مُحَمَّدٍ صلى الله عليه وسلم قَالُوا قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ مَنْ شَرِبَ الْخَمْرَ فَاجْلِدُوهُ ثُمَّ إِنْ شَرِبَ فَاجْلِدُوهُ ثُمَّ إِنْ شَرِبَ فَاجْلِدُوهُ ثُمَّ إِنْ شَرِبَ فَاقْتُلُوهُ ‏" ‏ ‏.‏

sunnah.com