Abu Hurairah reported,

A drunk man was brought to the Prophet ﷺ, and he ordered that he be struck. Some of us struck him with our hands, some with our sandals, and some with our garments. When the punishment was over, a man said, "What is wrong with him? May Allah disgrace him!"The Messenger of Allah ﷺ said, "Do not be helpers of Satan against your brother."

Bukhari 6781

Sahih

حدثنا علي بن عبد الله بن جعفر حدثنا أنس بن عياض حدثنا ابن الهاد عن محمد بن إبراهيم عن أبي سلمة

عن أبي هريرة قال

أتي النبي ﷺ بسكران فأمر بضربه فمنا من يضربه بيده ومنا من يضربه بنعله ومنا من يضربه بثوبه فلما انصرف قال رجل ما له أخزاه الله فقال رسول الله ﷺ لا تكونوا عون الشيطان على أخيكم

البخاري 6781صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Legal punishments
Chapter
What is disliked of cursing the wine drinker, and that he is not outside the religion
Numbering
Darussalam 6781
Bukhari 6781