Abdullah bin Zama reported,

The Prophet ﷺ forbade a man from laughing at what comes out of people, meaning passing wind, and said, "Why does one of you strike his wife as a stallion or a slave is struck, when he may then embrace her at the end of the day?"Thawri, Wahib, and Abu Muawiya reported it from Hisham with the wording, "the flogging of a slave."

Bukhari 6042

Sahih

حدثنا علي بن عبد الله حدثنا سفيان عن هشام عن أبيه

عن عبد الله بن زمعة قال

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

البخاري 6042صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Manners
Chapter
Saying of Allah the Exalted, "O you who believe, let not a people ridicule another people, perhaps they may be better than them" until His saying, "Then it is those who are the wrongdoers"
Numbering
Darussalam 6042
Bukhari 6042