“The Messenger of Allah (ﷺ) used to beat (offenders) for drinking wine with sandals and date-palm stalks.”

Sunan Ibn Majah Book 20, Hadith 38