Hadithcore
Sahih Muslim, 755 a
sahih

Jabir reported Allah's Messenger (ﷺ) as saying:

If anyone is afraid that he may not get up in the latter part of the night, he should observe Witr in the first part of it; and if anyone is eager to get up in the last part of it, he should observe Witr at the end of the night, for prayer at the end of the night is witnessed (by the angels) and that is preferable.

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا حَفْصٌ، وَأَبُو مُعَاوِيَةَ عَنِ الأَعْمَشِ، عَنْ أَبِي سُفْيَانَ، عَنْ جَابِرٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ مَنْ خَافَ أَنْ لاَ يَقُومَ مِنْ آخِرِ اللَّيْلِ فَلْيُوتِرْ أَوَّلَهُ وَمَنْ طَمِعَ أَنْ يَقُومَ آخِرَهُ فَلْيُوتِرْ آخِرَ اللَّيْلِ فَإِنَّ صَلاَةَ آخِرِ اللَّيْلِ مَشْهُودَةٌ وَذَلِكَ أَفْضَلُ ‏

‏ ‏.‏ وَقَالَ أَبُو مُعَاوِيَةَ مَحْضُورَةٌ ‏.‏

References2 variants
In-Book Reference
Book 6, Hadith 195
USC-MSA web (English) reference
Book 4, Hadith 1650 (deprecated numbering scheme)
Sharh · explanationclick to expand
In this Hadīth, Jābir (may Allah be pleased with him) reports: The Messenger of Allah (may Allah's peace and blessings be upon him) said: "If anyone fears that he will not wake up at the end of the night, let him offer the Witr prayer at its beginning," i.e., whoever fears that he may not wake up at the latter part of the night to perform the Witr prayer should perform it before he sleeps." And if anyone expects to wake up at its end, let him offer the Witr prayer at the end of the night," i.e., whoever knows from his condition that he will be able to get up at the latter part of the night should perform the Witr at the end of the night. "Indeed, prayer at the end of the night is witnessed," i.e., prayer at the end of the night is witnessed by the angels of mercy, as this prayer is offered at the latter part of the night before dawn at the time when Allah descends in a way that befits His majesty and that is better," i.e., the time at the end of the night is better for him than its beginning. Abu Mu‘āwiyah - one of the narrators - said: 'attended' i.e., attended by the angels of the night and the day. In the Hadīth: The preferability of Witr at the end of the night And in it: Some times are more meritorious than others. And in it: Prayer at the end of the night is attended and witnessed by the angels of mercy.
Related hadiths2
Compare isnād across 2 related chains →