Allah's Messenger said: "When Allah's Messenger wanted to turn from his Salat, he would…

Jami` at-Tirmidhi Book 2 Hadith 152

Jami` at-Tirmidhi #300

The Book on Salat (Prayer) 2:152

Thawban, the freed slave of Allah's Messenger, narrated that :

Allah's Messenger said: "When Allah's Messenger wanted to turn from his Salat, he would seek forgiveness from Allah three times, then say: (Allahumma Antas-Salam, wa minkas-salam, tabarakta ya dhal-jalali wal-Ikram) 'O Allah! You are the One free of defects and perfection is from You. Blessed are You, O Possesor of Majesty and Honor.'"

Chapter: What Is Said When Saying The Salam [After Salat]

Grade: Sahih (Darussalam)