When the Messenger of Allah ﷺ gave the closing salutation of the prayer, he would not remain seated longer than it took to say, "O Allah, You are Peace, and from You comes peace. Blessed are You, Possessor of Majesty and Honor."
حدثنا أبو بكر بن أبي شيبة حدثنا أبو معاوية ح و حدثنا محمد بن عبد الملك بن أبي الشوارب حدثنا عبد الواحد بن زياد قال حدثنا عاصم الأحول عن عبد الله بن الحارث
كان رسول الله ﷺ إذا سلم لم يقعد إلا مقدار ما يقول اللهم أنت السلام ومنك السلام تباركت يا ذا الجلال والإكرام
Muslim recorded it in "The Book of Mosques," in the chapter on the recommendation of remembrance after the prayer and its description, hadith no. 592, from Ibn Abu Shayba (and others), with this wording.