The Prophet ﷺ said, "Witr is a single rakah at the end of the night."
أخبرنا محمد بن يحيى بن عبد الله قال حدثنا وهب بن جرير قال حدثنا شعبة عن أبي التياح عن أبي مجلز
أن النبي ﷺ قال الوتر ركعة من آخر الليل
Muslim, Prayer of the Traveler, Chapter on the Night Prayer Being Performed in Pairs, etc., no. 752/153, transmitted it from the hadith of Abu Tayah Yazid bin Humayd, and it is also found in Kubra, no. 1396.