Bulugh al-Maram 592
وَعَنْ جَابِرٍ - رضي الله عنه - أَنَّ النَّبِيَّ - صلى الله عليه وسلم - قَالَ: «لَا تَدْفِنُوا مَوْتَاكُمْ بِاللَّيْلِ ⦗١٦٨⦘ إِلَّا أَنْ تُضْطَرُّوا». أَخْرَجَهُ ابْنُ مَاجَهْ وَأَصْلُهُ فِي «مُسْلِمٍ»، لَكِنْ قَالَ: زَجَرَ أَنْ يُقْبَرَ الرَّجُلُ بِاللَّيْلِ, حَتَّى يُصَلَّى عَلَيْهِ.
Jabir, may Allah be pleased with him, [reported] that the Prophet ﷺ said: "Do not bury your dead at night unless you are compelled to." Reported by Ibn Majah, and its basis is in Muslim, but he said: He rebuked [them] for a man being buried at night before the prayer had been offered over him.