كتاب الصلاة
2  
The Book of Prayer
Bulugh al-Maram 389
Narrated [Abu Sa'id al-Khudri (RA)]:
Allah's Messenger (ﷺ) said: "Whoever oversleeps and misses the Witr, or forgets it, should pray (when he awakens) in the moming or when he remembers." [Reported by al-Khamsah except an-Nasa'i].
وَعَنْهُ قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ مَنْ نَامَ عَنْ اَلْوِتْرِ أَوْ نَسِيَهُ فَلْيُصَلِّ إِذَا أَصْبَحَ أَوْ ذَكَرَ } رَوَاهُ اَلْخَمْسَةُ إِلَّا النَّسَائِيَّ .‏ 1‏ .‏
Reference : Bulugh al-Maram 389
In-book reference : Book 2, Hadith 389
English translation : Book 2, Hadith 384
Hadith Text
Reference