The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day
20/30. Chapter:
The time for witr
Sunan an-Nasai
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ نَافِعٍ، أَنَّ ابْنَ عُمَرَ، قَالَ مَنْ صَلَّى مِنَ اللَّيْلِ فَلْيَجْعَلْ آخِرَ صَلاَتِهِ وَتْرًا فَإِنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يَأْمُرُ بِذَلِكَ .
It was narrated that Ibn 'Umar said: "Whoever prays during the night, let him make the last of his prayers at night witr, because the Messenger of Allah (ﷺ) used to enjoin that."
Reference : Sunan an-Nasa'i 1682In-book reference : Book 20, Hadith 85English translation : Vol. 2, Book 20, Hadith 1683