Whoever sits in a gathering then when he wants to leave says: Subhanaka Allahumma wabihamdika, la ilaha illa anta, astaghfiruka wa-atubu ileik. (Glory is due to you, O Allah, and with your praise, there is no god but you, I seek your forgiveness and I repent to you); will be forgiven what has been done in that gathering.

404!