Jami` at-Tirmidhi, Book 17, Hadith 27 (Tirmidhi 1465)

Narrated Mu'awiyah:

That the Messenger of Allah (ﷺ) said: "Whoever drinks wine, then lash him. If he returns to it, then on the fourth time kill him."