Sunan Ibn Majah, Book 20, Hadith 40 (Ibn Majah 2574)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

“If he gets drunk, then whip him. If he does it again, then whip him. If he does it again, then whip him.' And he said concerning the fourth time: 'If he does it again, then strike his neck (i.e., execute him).' ”