Hadithcore
Hadith #2312270
hasan· Al-Albani

Jabir ibn 'Abdullah said that the Messenger of Allah, (ﷺ), said, "Beware of conversing after the night is still. None of you knows what creatures Allah will send, so lock your doors, tie up the water-skins, cover vessels and put out the lamps."

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

References2 variants
Sunnah.com reference
Book 50, Hadith 26
Arabic/English book reference
Book 50, Hadith 1230