Uqba bin Harith reported,

Naeem, or the son of Naeem, was brought before the Prophet ﷺ having drunk wine. The Prophet ﷺ ordered those present in the house to strike him.He said, "So they struck him, and I was among those who beat him with sandals."

Bukhari 6774

Sahih

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

عن عقبة بن الحارث قال

جيء بالنعيمان أو بابن النعيمان شاربا فأمر النبي ﷺ من كان بالبيت أن يضربوه قال فضربوه فكنت أنا فيمن ضربه بالنعال

البخاري 6774صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Legal punishments
Chapter
Whoever ordered that the hadd punishment be carried out in the house
Numbering
Darussalam 6774
Bukhari 6774