There are some expressions which a man utters three times when he gets up from an assembly…

Sunan Abu Dawud Book 43 Hadith 85

Sunan Abu Dawud #4857

General Behavior (Kitab Al-Adab) 43:85

Narrated Abdullah ibn Amr ibn al-'As:

There are some expressions which a man utters three times when he gets up from an assembly he will be forgiven for what happened in the assembly; and no one utters them in an assembly held for a noble cause or for remembrance of Allah but that is stamped with them just as a document is stamped with a signet-ring. These expressions are: Glory be to Thee, O Allah, and I begin with praise of Thee, there is no god but thou; I ask Thy pardon, and return to Thee in repentance.

Chapter: Regarding expiation of a gathering