Riyad as-Salihin, Book 1, Hadith 437 (In-Book)

Abu Musa (May Allah be pleased with him) reported: The Prophet said, "Allah, the Exalted, stretches His Hand during the night so that those who commit sins by day may repent, and He stretches His Hand in the day so that those who commit sins by night may repent. He keeps doing so until the sun rises from the West".[Muslim].

وعن أبي موسى، رضي الله عنه، عن النبي صلى الله عليه وسلم قال ‏ "‏إن الله تعالى يبسط يده بالليل ليتوب مسئ النهار، ويبسط يده بالنهار ليتوب مسئ الليل حتى تطلع الشمس من مغربها‏" ‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

sunnah.com