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:33:71

He will ˹then˺ amend for you your deeds and forgive you your sins. And whoever obeys Allah and His Messenger has certainly attained a great attainment.  

He will rectify your deeds for you, He will accept them, and will forgive you your sins. And whoever obeys God and His Messenger has verily achieved a great success, he has attained his ultimate goal.
القرآن:٣٣:٧١

يُصْلِحْ لَكُمْ أَعْمَالَكُمْ وَيَغْفِرْ لَكُمْ ذُنُوبَكُمْ ۗ وَمَنْ يُطِعِ اللَّهَ وَرَسُولَهُ فَقَدْ فَازَ فَوْزًا عَظِيمًا  

{يصلح لكم أعمالكم} يتقبلها {ويغفر لكم ذنوبكم ومن يطع الله ورسوله فقد فاز فوزا عظيما} نال غاية مطلوبة.