Bulugh al-Maram 380
وَعَنْ أُبَيِّ بْنِ كَعْبٍ - رضي الله عنه - قَالَ: كَانَ رَسُولُ اللَّهِ - صلى الله عليه وسلم - يُوتِرُ بِـ {سَبِّحِ اسْمَ رَبِّكَ الْأَعْلَى}، وَ {قُلْ يَا أَيُّهَا الْكَافِرُونَ}، وَ {قُلْ هُوَ اللَّهُ أَحَدٌ}. رَوَاهُ ⦗١١٣⦘ أَحْمَدُ, وَأَبُو دَاوُدَ, وَالنَّسَائِيُّ. وَزَادَ: وَلَا يُسَلِّمُ إِلَّا فِي آخِرِهِنَّ.
Ubayy ibn Kaʿb, may Allah be pleased with him, said: The Messenger of Allah ﷺ used to pray witr with "Glorify the name of your Lord, the Most High," "Say: O disbelievers" and "Say: He is Allah, the One." Reported by Ahmad, Abu Dawud and an-Nasaʾi, who added: And he would not give salam except at the end of them.