It is narrated from Sayyiduna Abu Umamah al-Bahili (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Any Muslim who attends an obligatory prayer, performs ablution well, then prays and performs the prayer well, Allah forgives him through it his sins between it and the prayer that came before it."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 8000