Hadith #8
Arabic Text
قَالَ وَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ خَافَ مِنْكُمْ أَنْ لَا يَسْتَيْقِظَ مِنْ آخِرِ اللَّيْلِ فَلْيُوتِرْ مِنْ أَوَّلِ اللَّيْلِ ثُمَّ لِيَرْقُدْ وَمَنْ طَمِعَ مِنْكُمْ أَنْ يَسْتَيْقِظَ مِنْ آخِرِ اللَّيْلِ فَلْيُوتِرْ مِنْ آخِرِ اللَّيْلِ فَإِنَّ قِرَاءَةَ آخِرِ اللَّيْلِ مَحْضُورَةٌ وَذَلِكَ أَفْضَلُ
English Translation
And he (may Allah be pleased with him) reported that the Messenger of Allah ﷺ said: 'Whoever among you fears that he will not wake up at the end of the night, let him pray Witr at the beginning of the night, then sleep. And whoever among you hopes to wake up at the end of the night, let him pray Witr at the end of the night, for indeed the prayer at the end of the night is witnessed, and that is better.'
Quran References
Reference: Musnad Ahmad, Book 30, Hadith 8
Sunnah.com ref: Musnad Ahmad 14646
Islam.wiki ID: IWH-51036