Supplication to be recited at the End of Gatherings
Rasoolullaah ﷺ has mentioned that if anyone sits in a gathering and therein mention things which are sinful or should not have been said, then if before dispersing he says the following:
سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا أَنْتَ أَسْتَغْفِرُكَ وَأَتُوبُ إِلَيْكَ
(‘Glory be to You, O Allaah and all praise is due to You. I testify that there is none worthy of worship besides You, I seek Your forgiveness and turn to You.’)
Then whatever sinful things he said during that gathering will be forgiven.