196
سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا أَنْتَ، أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ
Subhanaka Allahumma wabihamdik, ashhadu an la ilaha illa anta, astaghfiruka wa atubu ilayka
Glory be to You, O Allah, and with Your praise. I bear witness that there is no deity except You. I seek Your forgiveness and turn to You in repentance.
Whoever says it before rising from a gathering in which there was much idle talk is forgiven what happened in that gathering. ʿĀʾishah reported that whenever the Messenger of Allah ﷺ sat somewhere, recited the Qur'an or prayed, he ended it with these words.
Source Jāmiʿ at-Tirmidhī 3433 Ṣaḥīḥ · Sunan Abī Dāwūd 4859 Ṣaḥīḥ
Compiler cites the compilers of the Sunan; see al-Albānī, Ṣaḥīḥ at-Tirmidhī 3/153; ʿĀʾishah's report: an-Nasāʾī ('Amal al-Yawm wa'l-Laylah) no. 308 and Aḥmad 6/77, graded ṣaḥīḥ by Dr. Fārūq Ḥamādah in his edition of 'Amal al-Yawm wa'l-Laylah, p. 273