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:23:80

And it is He who gives life and causes death, and His is the alternation of the night and the day. Then will you not reason?  

And He it is Who gives life, by breathing the Spirit into the embryo (mudgha), and brings death, and due to Him is the alternation of night and day, in darkness and brightness, ˹and through˺ increase and diminution. Will you not then comprehend?, His handiwork, exalted be He, and so reflect?
القرآن:٢٣:٨٠

وَهُوَ الَّذِي يُحْيِي وَيُمِيتُ وَلَهُ اخْتِلَافُ اللَّيْلِ وَالنَّهَارِ ۚ أَفَلَا تَعْقِلُونَ  

{وهو الذي يحيى} بنفخ الروح في المضغة {ويميت وله اختلاف الليل والنهار} بالسواد والبياض والزيادة والنقصان {أفلا تعقلون} صنعه تعالى فتعتبرون.