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)
قَالَ رَسُولُ اللهِ ﷺ مَنْ تَابَ قَبْلَ أَنْ تَطْلُعَ الشَّمْسُ مِنْ مَغْرِبِهَا قُبِلَ مِنْهُ