The Prophet ﷺ said, "Allah extends His hand by night so that the wrongdoer of the day may repent, and He extends His hand by day so that the wrongdoer of the night may repent, until the sun rises from its place of setting."
ى، عن النبي ﷺ قال: إن الله عز وجل يبسط يده بالليل ليتوب مسيء النهار، ويبسط يده بالنهار ليتوب مسيء الليل حتى تطلع الشمس من مغربها.
Muslim narrated it in the Book of Repentance (2759) from Muhammad bin Jafar, who said, Shuba narrated to us, from Amr bin Mura, who said, I heard Abu Ubayda narrating from Abu Musa, and he mentioned it.His saying, "and takes the charitable offerings".