He who seeks repentance (from the Lord) before the rising of the sun from the west (before the Day of Resurrection), Allah turns to him with Mercy. (Using translation from Muslim 2703)
قَالَ رَسُولُ اللهِ ﷺ مَنْ تَابَ قَبْلَ طُلُوعِ الشَّمْسِ مِنْ مَغْرِبِهَا تَابَ اللهُ عَلَيْهِ