وعن أبي هُريرةَ - رضي الله عنه - قَالَ: قَالَ رَسُولُ اللهِ - صلى الله عليه وسلم: «مَنْ تَابَ قَبْلَ أَنْ تَطْلُعَ الشَّمْسُ مِنْ مَغْرِبِها تَابَ اللهُ عَلَيهِ». رواه مسلم.
It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him), who said: The Messenger of Allah (peace and blessings be upon him) said: "Whoever repents before the sun rises from its place of setting, Allah will accept his repentance."
(Narrated by Muslim)