Hadith 9130

حَدَّثَنَا هَوْذَةُ ، حَدَّثَنَا عَوْفٌ ، عَنْ مُحَمَّدٍ ، عَنْ أَبِي هُرَيْرَةَ ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ : " مَنْ تَابَ قَبْلَ أَنْ تَطْلُعَ الشَّمْسُ مِنْ مَغْرِبِهَا ، تَابَ اللَّهُ عَلَيْهِ " .
It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings be upon him) said: Whoever repents before the event of the sun rising from the west, his repentance will be accepted.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 9130
Hadith Grading حکم دارالسلام: حديث صحيح، وهذا إسناد قوي،خ: 4635، م: 157