Abdullah bin Umar reported,

Whoever prays during the night should make the last of his prayer the witr, for the Messenger of Allah ﷺ used to command this.

Muslim 1754

Sahih

و حدثنا قتيبة بن سعيد حدثنا ليث ح و حدثنا ابن رمح أخبرنا الليث عن نافع أن

ابن عمر قال

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

مسلم 1754صحيح
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 1754
Muslim 1754