Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:6:13

And to Him belongs that which reposes by night and by day, and He is the Hearing, the Knowing.  

And to Him, exalted be He, belongs all that inhabits, resides ˹in˺, the night and the day, that is to say, everything — He is its Lord, its Creator and its Possessor; and He is the Hearer, of what is said, the Knower’, of what is done.
القرآن:٦:١٣

وَلَهُ مَا سَكَنَ فِي اللَّيْلِ وَالنَّهَارِ ۚ وَهُوَ السَّمِيعُ الْعَلِيمُ  

{وله} تعالى {ما سكن} حلُ {في الليل والنهار} أي كل شيء فهو ربه وخالقه ومالكه {وهو السميع} لما يقال {العليم} بما يفعل.