Abu Ayyub reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever performs ablution and prayer as he has been commanded, he will be forgiven for his previous misdeeds.”
Source: Sunan al-Nasā’ī 144
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَنْ تَوَضَّأَ كَمَا أُمِرَ وَصَلَّى كَمَا أُمِرَ غُفِرَ لَهُ مَا قَدَّمَ مِنْ عَمَلٍ
144 سنن النسائي كتاب الطهارة ثواب من توضأ كما أمر
396 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترغيب