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].
Arabic/English book reference: Book 1, Hadith 437