Sayyiduna Anas (may Allah be pleased with him) said that a drinker was brought to the Prophet (peace and blessings be upon him), and he had him struck forty times with sandals and palm stalks.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17535