Sahih Muslim · Hadith 1362
The Book of Mosques and Places of Prayer - كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
حدثنا داود بن رشيد، حدثنا الوليد، عن الأوزاعي، عن أبي عمار، - اسمه شداد بن عبد الله - عن أبي أسماء، عن ثوبان، قال كان رسول الله صلى الله عليه وسلم إذا انصرف من صلاته استغفر ثلاثا وقال " اللهم أنت السلام ومنك السلام تباركت ذا الجلال والإكرام " . قال الوليد فقلت للأوزاعي كيف الاستغفار قال تقول أستغفر الله أستغفر الله .
Thauban reported: When the Messenger of Allah (may peace be upon him) finished his prayer. he begged forgiveness three times and said: O Allah! Thou art Peace, and peace comes from Thee; Blessed art Thou, O Possessor of Glory and Honour. Walid reported: I said to Auza'i: How Is the seeking of forgiveness? He replied: You should say:, I beg forgiveness from Allah, 1 beg forgiveness from Allah."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).