Thawban reported,

Whenever the Messenger of Allah ﷺ finished his prayer, he would seek forgiveness from Allah three times and say, "O Allah, You are Peace, and from You comes peace. Blessed are You, Possessor of Majesty and Honor."Walid said, "I asked Awzai, 'How is the seeking of forgiveness done?'"He replied, "You say, 'I seek forgiveness from Allah, I seek forgiveness from Allah.'"

Azami 2218

Sahih

عن ثوبان قال

كان رسول الله ﷺ إذا انصرف من صلاته، استغفر الله ثلاثا وقال: اللهم أنت السلام، ومنك السلام، تباركت ذا الجلال والإكرام. قال الوليد: فقلت للأوزاعي: كيف الاستغفار؟ قال: تقول: أستغفر الله، أستغفر الله.

الأعظمي 2218صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Tashahhud and salam
Section
Adhkar after the obligatory prayers
Numbering
Jami al-Kamil 2218 (2nd edition)
Azami 2218