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 11041

Sahih

عن ثوبان قال

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

الأعظمي 11041صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications of adhan and prayer, and what is related to them
Section
Remembrances after the obligatory prayers and at their conclusions
Numbering
Jami al-Kamil 11041 (2nd edition)
Azami 11041