Sahih Muslim 755 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
أَيُّكُمْ خَافَ أَنْ لاَ يَقُومَ مِنْ آخِرِ اللَّيْلِ فَلْيُوتِرْ ثُمَّ لْيَرْقُدْ وَمَنْ وَثِقَ بِقِيَامٍ مِنَ اللَّيْلِ فَلْيُوتِرْ مِنْ آخِرِهِ فَإِنَّ قِرَاءَةَ آخِرِ اللَّيْلِ مَحْضُورَةٌ وَذَلِكَ أَفْضَلُ "
Jabir reported Allah's Messenger (ﷺ) as saying:
He who amongst you is afraid that he may not be able to get up at the end of the night should observe Witr (in the first part) and then sleep, and he who is confident of getting up and praying at night (i.e. Tahajjud prayer) should observe it at the end of it, for the recitation at the end of the night is witnessed*, and that is better. *: meaning, "by angels" (Sharh an-Nawawi)
Full reference and source
Sahih Muslim 755 b In-book : Book 6, Hadith 196 USC-MSA web (English) : Book 4, Hadith 1651 (deprecated)
View source on Sunnah.com (opens in a new tab)