´It was narrated from Aishah that:` When the Messenger of Allah (ﷺ) sat in a gathering or prayed, he said some words, and 'Aishah asked him about those words. He said: "If he has spoken some good words (and he says this statement of remembrance), it will be a seal for them to preserve them until the Day of Resurrection, and if he has said something other than that, it (these words) will be an expiation for him: 'Subhanak Allahumma wa bihamdika, astaghfiruka wa atubu ilayk (Glory and praise be to You, O Allah, I seek Your forgiveness and I repent to You.)'"
Hadith Referenceسنن نسائي / كتاب السهو / 1345
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن مسند احمد (6/ 77) وسنده حسن
Hadith Takhrij«تفرد بہ النسائي، (تحفة الأشراف: 16335)، وقد أخرجہ المؤلف فی عمل الیوم واللیلة 137 (400) ، مسند احمد 6/77 (صحیح)»