وعن أبي هريرة رضي الله عنه قال‏:‏ سمعت رسول الله صلى الله عليه وسلم يقول‏:‏ ‏"‏والله إني لأستغفر الله وأتوب إليه في اليوم أكثر من سبعين مرة ‏"‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏
Copy
'Abdullah bin 'Umar bin Al-Khattab (May Allah be pleased with them) reported that

The Prophet (ﷺ) said, "Allah accepts a slave's repentance as long as the latter is not on his death bed (that is, before the soul of the dying person reaches the throat)".[At-Tirmidhi, who categorised it as Hadith Hasan].