Hadithcore
Sahih Muslim, 751 c
sahih

Nafi' reported Ibn 'Umar as saying:

He who observed the night prayer should make Witr the end of his prayer before dawn. The Messenger of Allah (ﷺ) used to order them thus.

وَحَدَّثَنِي هَارُونُ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا حَجَّاجُ بْنُ مُحَمَّدٍ، قَالَ قَالَ ابْنُ جُرَيْجٍ أَخْبَرَنِي نَافِعٌ، أَنَّ ابْنَ عُمَرَ، كَانَ يَقُولُ مَنْ صَلَّى مِنَ اللَّيْلِ فَلْيَجْعَلْ آخِرَ صَلاَتِهِ وِتْرًا قَبْلَ الصُّبْحِ كَذَلِكَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَأْمُرُهُمْ ‏.‏

References2 variants
In-Book Reference
Book 6, Hadith 185
USC-MSA web (English) reference
Book 4, Hadith 1640 (deprecated numbering scheme)
Related hadiths3
Compare isnād across 3 related chains →