عَنْ أَبِي أَيُّوبَ الْأَنْصَارِيِّ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَانَ يَقُولُ: ((إِنَّ كُلَّ صَلَاةٍ تَحُطُّ مَا بَيْنَ يَدَيْهَا مِنْ خَطِيئَةٍ))
It is narrated from Sayyiduna Abu Ayyub Ansari (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him and his family) said: Indeed, every prayer wipes out the sins committed before it.