Anas bin Malik reported,

The Prophet ﷺ used to administer forty lashes for drinking wine, using sandals and palm-branches. Then he mentioned something similar to their hadith, but did not mention the countryside and villages.

Muslim 4456

Sahih

و حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن هشام عن قتادة

عن أنس

أن النبي ﷺ كان يضرب في الخمر بالنعال والجريد أربعين ثم ذكر نحو حديثهما ولم يذكر الريف والقرى

مسلم 4456صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
Hadd for wine
Numbering
Darussalam 4456
Muslim 4456