Messenger of Allah ﷺ said, "Extinguish the lamps when you go to bed; close your doors; tie the mouths of your water skins, and cover the food and drinks." I think he added, ". . . even with a stick you place across the container."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ أَطْفِئُوا الْمَصَابِيحَ إِذَا رَقَدْتُمْ وَغَلِّقُوا الأَبْوَابَ وَأَوْكُوا الأَسْقِيَةَ وَخَمِّرُوا الطَّعَامَ وَالشَّرَابَ وَأَحْسِبُهُ قَالَ وَلَوْ بِعُودٍ تَعْرُضُهُ عَلَيْهِ