Sahih Muslim – Hadith No : 1362

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.”

Hadith In Arabic Text :

حدثنا داود بن رشيد، حدثنا الوليد، عن الأوزاعي، عن أبي عمار، – اسمه شداد بن عبد الله – عن أبي أسماء، عن ثوبان، قال كان رسول الله صلى الله عليه وسلم إذا انصرف من صلاته استغفر ثلاثا وقال ‏”‏ اللهم أنت السلام ومنك السلام تباركت ذا الجلال والإكرام ‏”‏ ‏.‏ قال الوليد فقلت للأوزاعي كيف الاستغفار قال تقول أستغفر الله أستغفر الله ‏.‏

Chapter : The Book of Mosques and Places of Prayer – كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ