Thawban reported,

When the Messenger of Allah ﷺ finished his prayer, he would seek forgiveness three times, then say, "Allah, You are Peace, and from You comes peace. Blessed are You, Possessor of Majesty and Honor."

Ibn Majah 928

Sahih

حدثنا هشام بن عمار حدثنا عبد الحميد بن حبيب حدثنا الأوزاعي ح و حدثنا عبد الرحمن بن إبراهيم الدمشقي حدثنا الوليد بن مسلم حدثنا الأوزاعي حدثني شداد أبو عمار حدثني أبو أسماء الرحبي

حدثني ثوبان

أن رسول الله ﷺ كان إذا انصرف من صلاته استغفر ثلاث مرات ثم يقول اللهم أنت السلام ومنك السلام تباركت يا ذا الجلال والإكرام

ابن ماجه 928صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
What is said after the taslim
Numbering
Darussalam 928
Ibn Majah 928