Mihjan bin Adra reported,

The Messenger of Allah ﷺ entered the mosque and came upon a man who had finished his prayer and was reciting the tashahhud, saying, "O Allah, I ask You, Allah, the One, the Self-Sufficient, who has not begotten and was not begotten, and to whom none is equal, to forgive me my sins, for You are the Forgiving, the Merciful."The Prophet ﷺ said, "He has been forgiven, he has been forgiven, he has been forgiven," three times.

Abu Dawud 985

Sahih

حدثنا عبد الله بن عمرو أبو معمر حدثنا عبد الوارث حدثنا الحسين المعلم عن عبد الله بن بريدة عن حنظلة بن علي أن

محجن بن الأدرع حدثه قال

دخل رسول الله ﷺ المسجد فإذا هو برجل قد قضى صلاته وهو يتشهد وهو يقول اللهم إني أسألك يا ألله الأحد الصمد الذي لم يلد ولم يولد ولم يكن له كفوا أحد أن تغفر لي ذنوبي إنك أنت الغفور الرحيم قال فقال قد غفر له قد غفر له ثلاثا

أبو داود 985صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
What to say after tashahhud
Numbering
Darussalam 985
Abu Dawud 985