Ubayy bin Kaab reported,

The Messenger of Allah ﷺ used to perform the Witr prayer with three units. In the first he would recite "Glorify the name of your Lord, the Most High" [Ala 87:1], in the second "Say, O you who disbelieve" [Kafirun 109:1], and in the third "Say, He is Allah, the One" [Ikhlas 112:1]. He would make the qunut supplication before bowing, and when he finished he would say upon completion, "Glory be to the King, the Holy," three times, prolonging the last of them.

Nasai 1700

Sahih

أخبرنا علي بن ميمون قال حدثنا مخلد بن يزيد عن سفيان عن زبيد عن سعيد بن عبد الرحمن بن أبزى عن أبيه

عن أبي بن كعب

أن رسول الله ﷺ كان يوتر بثلاث ركعات كان يقرأ في الأولى بسبح اسم ربك الأعلى وفي الثانية بقل يا أيها الكافرون وفي الثالثة بقل هو الله أحد ويقنت قبل الركوع فإذا فرغ قال عند فراغه سبحان الملك القدوس ثلاث مرات يطيل في آخرهن

النسائي 1700صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Night prayer and voluntary prayers of the day
Chapter
Differing wordings of the transmitters of the report of Ubayy bin Kaab regarding Witr
Numbering
Darussalam 1700
Nasai 1700