كتاب الْمَسَاجِدِ وَمَوَاضِعِ الصَّلاَةِ
5  
The Book of Mosques and Places of Prayer
(26)
Chapter: It is recommended to recite statements of remembrance after the prayer, and how that is to be done
(26)
باب اسْتِحْبَابِ الذِّكْرِ بَعْدَ الصَّلاَةِ وَبَيَان صِفَتِهِ ‏
Sahih Muslim 592 a

'A'isha reported:

When the Messenger of Allah (ﷺ) pronounced salutation, he salutation longer than it took him to say: O Allah: Thou art Peace, and peace comes from Thee, blessed art Thou, Possessor of Glory and ]Honour; and in the narration of Ibn Numair the words are:" O Possessor of Glory and Honour."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَابْنُ، نُمَيْرٍ قَالاَ حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنْ عَاصِمٍ، عَنْ عَبْدِ اللَّهِ بْنِ الْحَارِثِ، عَنْ عَائِشَةَ، قَالَتْ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا سَلَّمَ لَمْ يَقْعُدْ إِلاَّ مِقْدَارَ مَا يَقُولُ ‏"‏ اللَّهُمَّ أَنْتَ السَّلاَمُ وَمِنْكَ السَّلاَمُ تَبَارَكْتَ ذَا الْجَلاَلِ وَالإِكْرَامِ ‏"‏ ‏.‏ وَفِي رِوَايَةِ ابْنِ نُمَيْرٍ ‏"‏ يَا ذَا الْجَلاَلِ وَالإِكْرَامِ ‏"‏ ‏.‏
Reference : Sahih Muslim 592a
In-book reference : Book 5, Hadith 172
USC-MSA web (English) reference : Book 4, Hadith 1227
  (deprecated numbering scheme)