The Messenger of Allah ﷺ said, "There will be people who will wish they had committed more sins."They asked, "How so, Messenger of Allah?"He replied, "They are the ones whose sins Allah has replaced with good deeds."
قال رسول الله ﷺ: ليتمنين أقوام لو أكثروا من السيئات. قالوا: بم يا رسول الله؟ قال: الذين بدل الله سيئاتهم حسنات.
No references are available.
Narrated by Hakim (4/63) on the authority of Abu Abbas, he said, Abu Al-Mawajjih narrated to us, Abdan narrated to us, Fadl bin Musa informed me, on the authority of Abu Anbas, on the authority of his father, on the authority of Abu Hurairah, who said, and then he mentioned it.Its chain is hasan because of the father of Abu Anbas, who is Kathir bin Ubayd Taymi, the freedman of Abu Bakr Siddiq, Abu Saeed of Kufah, the foster-brother of Ayesha through nursing. A group of narrators transmitted from him, and Ibn Hibban mentioned him among the trustworthy narrators. Someone like him has his hadith graded hasan so long as there is nothing objectionable in it, and this hadith has a firmly established basis, of which this is an instance.