Sayyiduna Abu Huraira (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "Whoever repents before the sun rises from the west, Allah Almighty will accept his repentance."
Hadith Referenceصحیح ابن حبان / كتاب الرقائق / 629
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «مختصر مسلم» (1920).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم، رجاله ثقات رجال الشيخين غير عبد الله بن رجاء - وهو المكي- فمن رجال مسلم. وهشام هو: ابن حسان.