Abu Hurairah reported,

The Prophet ﷺ said, "Whoever sits in a gathering where much idle talk takes place, and before getting up says, 'Glory be to You, our Lord, and praise be to You. There is no god but You. I seek Your forgiveness and turn to You in repentance,' Allah will forgive him whatever occurred in that gathering."

Ahmad 10415

Sahih

حدثنا حجاج قال قال ابن جريج أخبرني موسى بن عقبة عن سهيل بن أبي صالح عن أبيه

عن أبي هريرة

عن النبي ﷺ قال من جلس في مجلس كثر فيه لغطه فقال قبل أن يقوم سبحانك ربنا وبحمدك لا إله إلا أنت أستغفرك ثم أتوب إليك إلا غفر الله له ما كان في مجلسه ذلك

أحمد 10415صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10415
Ahmad 10415