Ismail bin Abdullah says that this hadith has reached me that the Prophet (peace be upon him) said: Whoever participates in a gathering, and when he intends to stand up, he recites these words: Subhanak Allahumma wa bihamdika la ilaha illa anta astaghfiruka wa atubu ilayk, then all the sins he committed in that gathering will be forgiven. The narrator says: I related this hadith to Yazid bin Khusaifah, and he said that this hadith was narrated to me in the same way by Sayyiduna Sa'ib bin Yazid from the Prophet (peace be upon him).