The Messenger of Allah ﷺ was standing amongst us and he told us five things. He said: Verily the Exalted and Mighty God does not sleep, and it does not befit Him to sleep. He lowers the scale and lifts it. The deeds in the night are taken up to Him before the deeds of the day, and the deeds of the day before the deeds of the night. His veil is the light. In the hadith narrated by Abu Bakr (instead of the word "light" ) it is fire. If he withdraws it (the veil), the splendour of His countenance would consume His creation so far as His sight reaches. (Using translation from Muslim 179a)
"إِنَّ الله لَا يَنَامُ، ولا يَنْبِغى لَهُ أنْ يَنَامَ. يَخْفِضُ الْقِسْطَ، ويَرْفَعُهُ يُرْفَعُ إِلَيهِ عَمَلُ اللَّيلِ قَبْلَ عَمَلِ النَّهارِ، وَعَمَلُ النَّهار قَبْلَ عَمَل اللَّيل، حَجَابُه النُّورُ، لَوْ كَشَفَه لأَحْرَقَتْ سُبُحَاتُ وَجْهِهِ مَا انْتَهَى إِلَيهِ بَصَرُهُ مِنْ خَلقِهِ".