Hadith #153
Chapter: The Book of the Etiquette of Sleeping, Lying and Sitting etc
كتاب آداب النوم
Arabic Text
وعن أبى برزة رضى الله عنه قال: كان رسول الله صلى الله عليه وسلم يقول بآخرة إذا أراد أن يقوم من المجلس: "سبحانك الله وبحمدك
أشهد أن لا إله إلا أنت، أستغفرك وأتوب إليك" فقال رجل: يا رسول الله، إنك لتقول قولاً ما كنت تقوله فيما مضى؟ قال: "ذلك كفارة لما يكون في المجلس. ((رواه أبو داود)).((ورواه الحاكم أبو عبيد الله في المستدرك من رواية عائشة رضى الله عنها وقال: صحيح بإسناد))
Isnad Chain
أبى برزة
English Translation
Abu Barzah (may Allah be pleased with him) reported that towards the end of his life, Messenger of Allah (ﷺ) would supplicate before leaving an assembly thus: "Subhanaka Allahumma wa bihamdika, ash-hadu an la ilaha illa Anta, astaghfiruka wa atubu ilaika (O Allah, You are free from every imperfection; all praise is for You. I testify that there is no true god except You, I ask Your forgiveness and turn to You in repentance).'' A man once said to him: "O Messenger of Allah! You have spoken such words as you have never uttered before.'' He said, "It is an expiation of that which goes on in the assembly.'' .
Quran References
Reference: Riyadh al-Salihin, Book 4, Hadith 153
Sunnah.com ref: riyadh-salihin 153
Islam.wiki ID: IWH-66991