Sunan an-Nasa'i, Volume 3, Book 21, Hadith 2016 (DarusSalam)

Jabir said: "The Messenger of Allah delivered a Khutbah and mentioned a man among his Companions who had died and had been buried at night in a shroud that was not sufficient. The Messenger of Allah reprimanded them, telling them not to bury a person at night except in cases of emergency."

أَخْبَرَنِي عَبْدُ الرَّحْمَنِ بْنُ خَالِدٍ الْقَطَّانُ الرَّقِّيُّ، قَالَ حَدَّثَنَا حَجَّاجٌ، قَالَ ابْنُ جُرَيْجٍ أَخْبَرَنِي أَبُو الزُّبَيْرِ، أَنَّهُ سَمِعَ جَابِرًا، يَقُولُ ‏:‏ خَطَبَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَذَكَرَ رَجُلاً مِنْ أَصْحَابِهِ مَاتَ فَقُبِرَ لَيْلاً، وَكُفِّنَ فِي كَفَنٍ غَيْرِ طَائِلٍ، فَزَجَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يُقْبَرَ إِنْسَانٌ لَيْلاً إِلاَّ أَنْ يُضْطَرَّ إِلَى ذَلِكَ ‏.‏

sunnah.com