Abu Musa reported Messenger of Allah ﷺ as saying that Allah, the Exalted and Glorious, Stretches out His Hand during the night so that the people may repent for the fault committed from dawn till dusk and He stretches out His Hand during the day so that the people may repent for the fault committed from dusk to dawn. (He would accept repentance) before the sun rises in the west (before the Day of Resurrection). A hadith like this has been narrated on the authority of Shu'ba with the same chain of transmitters. (Using translation from Muslim 2759a)
عَنِ النَّبِيِّ ﷺ قَالَ إِنَّ اللهَ ﷻ يَبْسُطُ يَدَهُ بِالنَّهَارِ لِيَتُوبَ مُسِيءُ اللَّيْلِ وَيَبْسُطُ يَدَهُ بِاللَّيْلِ لِيَتُوبَ مُسِيءُ النَّهَارِ حَتَّى تَطْلُعَ الشَّمْسُ مِنْ مَغْرِبِهَا