Ayesha reported,

The Messenger of Allah ﷺ, whenever he sat in a gathering or finished a prayer, would speak certain words. Ayesha asked him about these words, and he said, "If a person has spoken good, these words act as a seal upon it until the Day of Resurrection, and if he has spoken otherwise, they serve as an expiation. The words are, Glory be to You and praise be to You, there is no god but You, I seek Your forgiveness and turn to You in repentance."

Ahmad 24486

Sahih

حدثنا أبو سلمة حدثنا خالد بن سليمان الحضرمي عن خالد بن أبي عمران عن عروة

عن عائشة

أن رسول الله ﷺ كان إذا جلس مجلسا أو صلى تكلم بكلمات فسألته عائشة عن الكلمات فقال إن تكلم بخير كان طابعا عليهن إلى يوم القيامة وإن تكلم بغير ذلك كان كفارة سبحانك وبحمدك لا إله إلا أنت أستغفر الله وأتوب إليه

أحمد 24486صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ayesha
Numbering
Darussalam 24486
Ahmad 24486