Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:42:25

And it is He who accepts repentance from his servants and pardons misdeeds, and He knows what you do.  

And He it is Who accepts repentance from His servants, and pardons evil deeds, those from which repentance has been made, and knows what they do (yaf‘alūna, may also be read taf‘alūna, ‘you do’).
القرآن:٤٢:٢٥

وَهُوَ الَّذِي يَقْبَلُ التَّوْبَةَ عَنْ عِبَادِهِ وَيَعْفُو عَنِ السَّيِّئَاتِ وَيَعْلَمُ مَا تَفْعَلُونَ  

{وهو الذي يقبل التوبة عن عباده} منهم {ويعفو عن السيئات} المتاب عنها {ويعلم ما يفعلون} بالياء والتاء.