The Prophet ﷺ said, "The witr is a single rakah at the end of the night."
حدثنا محمد بن جعفر حدثنا شعبة وحجاج قال حدثني شعبة عن قتادة وسمعت أبا مجلز سمعت
عن النبي ﷺ أنه قال الوتر ركعة من آخر الليل
Its isnad is sahih, and it is a repetition of 5016, see also 5103.