عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ الْأَنْصَارِيِّ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: تُوُفِّي رَجُلٌ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مِنْ بَنِي عُذْرَةَ فَقُبِرَ لَيْلًا، فَنَهَى رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنْ يُقْبَرَ الرَّجُلُ لَيْلًا حَتَّى يُصَلَّى عَلَيْهِ إِلَّا أَنْ يَضْطَرُّوا إِلَى ذَلِكَ
Sayyiduna Jabir bin Abdullah Ansari (may Allah be pleased with him) narrates that in the time of the Messenger of Allah (peace and blessings be upon him), a man from the Banu Uzrah tribe passed away at night and was buried during the night. The Messenger of Allah (peace and blessings be upon him) forbade burial at night until the funeral prayer had been performed, except if people are compelled (to bury at night).