Messenger of Allah said: "When Messenger of Allah 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.'" (Using translation from Tirmidhī 300)
كَانَ رَسُولُ اللهِ ﷺ إِذَا أَرَادَ أَنْ يَنْصَرِفَ مِنْ صَلَاتِهِ اسْتَغْفَرَ ثَلَاثَ مَرَّاتٍ ثُمَّ قَالَ اللهُمَّ أَنْتَ السَّلَامُ وَمِنْكَ السَّلَامُ تَبَارَكْتَ يَا ذَا الْجَلَالِ وَالْإِكْرَامِ