What to Say and Do on Committing a Sin is chapter 44 of Hisn al-Muslim (Fortress of the Muslim), the collection of supplications from the Quran and Sunnah compiled by Sa'id ibn 'Ali ibn Wahf al-Qahtani. It has one reading, shown below with the Arabic, transliteration, English meaning and source reference exactly as published in the deen2u English edition.
The supplication (Hisn al-Muslim #140)
مَا مِنْ عَبْدٍ يُذْنِبُ ذَنْبًا فَيُحْسِنُ الطُّهُورَ ثُمَّ يَقُومُ فَيُصَلِّي رَكْعَتَيْنِ ثُمَّ يَسْتَغْفِرُ اللَّهَ إِلاَّ غَفَرَ اللَّهُ لَهُ
Ma min 'abdin yudhnibu dhanban fayuhsinut-tuhura thumma yaqumu fayusalli rak'atayni thumma yastaghfirullaha ila ghafarallahu lah
There is no servant who commits a sin, then purifies himself well, then stands and prays two rakʿahs, then asks Allah's forgiveness, except that Allah forgives him. — deen2u
Reference: Sunan Abī Dāwūd 1521 (Ṣaḥīḥ); Jāmiʿ at-Tirmidhī 406 — similar wording (Ḥasan) Abū Dāwūd 2/86; at-Tirmidhī 2/257; see al-Albānī, Ṣaḥīḥ Abī Dāwūd 1/283 (ṣaḥīḥ) · Source: Fortress of the Muslim — deen2u English edition, deen2u.com/hisn-al-muslim
Source
Fortress of the Muslim, deen2u English edition (deen2u.com/hisn-al-muslim). Free to read, print and share unchanged. English translation, transliteration and arrangement © deen2u. Quran Arabic: Tanzil Project.