The Prophet ﷺ used to recite in the witr prayer "Glorify the name of your Lord, the Most High" [Ala 87:1], "Say, O disbelievers" [Kafirun 109:1], and "Say, He is Allah, the One" [Ikhlas 112:1]. When he gave the closing salam, he would say, "Glory be to the King, the Most Holy," prolonging it three times.
حدثنا بهز حدثنا همام أخبرنا قتادة عن عزرة
عن النبي ﷺ كان يقرأ في الوتر بسبح اسم ربك الأعلى وقل يا أيها الكافرون وقل هو الله أحد وكان إذا سلم قال سبحان الملك القدوس يطولها ثلاثا