It was narrated from Ibn Umar that:The Prophet (ﷺ) said: "Witr is one rak'ah at the end of the night."
أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ، قَالَ حَدَّثَنَا يَحْيَى، وَمُحَمَّدٌ، قَالاَ حَدَّثَنَا ثُمَّ، ذَكَرَ كَلِمَةً مَعْنَاهَا شُعْبَةُ عَنْ قَتَادَةَ، عَنْ أَبِي مِجْلَزٍ، عَنِ ابْنِ عُمَرَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " الْوَتْرُ رَكْعَةٌ مِنْ آخِرِ اللَّيْلِ " .
Nesai
The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day • Hadith 1690