Abdullah bin Umar reported,

Whoever prays during the night should make the last of his prayer the witr before dawn. This is what the Messenger of Allah ﷺ used to instruct them.

Muslim 1756

Sahih

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

ابن عمر كان يقول

من صلى من الليل فليجعل آخر صلاته وترا قبل الصبح كذلك كان رسول الله ﷺ يأمرهم

مسلم 1756صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Night prayer is two rakats at a time and Witr is one rakat at the end of the night
Numbering
Darussalam 1756
Muslim 1756