TABARANI 1587:
from Nāfiʿ b. Jubayr b. Muṭʿim from his father —
[Machine] Narrated by the Prophet ﷺ, "The expiation of a gathering is that one does not stand up until he says, 'Subhanaka Allahumma wa bihamdika, la ilaha illa anta, tubu 'alayya wa 'aghfirli.' Let him say it three times. If there was any unruly talk in the gathering, it will be an expiation for it, and if it was a gathering of remembrance, it will be a seal upon it."
الطبراني ١٥٨٧:
عن نافع بن جبير بن مطعم عن أبيه —
عَنِ النَّبِيِّ ﷺ قَالَ «كَفَّارَةُ الْمَجْلِسِ أَنْ لَا يَقُومَ حَتَّى يَقُولَ سُبْحَانَكَ اللهُمَّ وَبِحَمْدِكَ لَا إِلَهَ إِلَّا أَنْتَ تُبْ عَلَيَّ وَاغْفِرْ لِي يَقُولُهَا ثَلَاثَ مَرَّاتٍ فَإِنْ كَانَ مَجْلِسَ لَغَطٍ كَانَتْ كَفَّارَةً لَهُ وَإِنْ كَانَ مَجْلِسَ ذِكْرٍ كَانَتْ طَابَعًا عَلَيْهِ»
hadithunlocked.com