It is narrated from Sayyiduna Abu Malik al-Ash'ari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The prayers are an expiation for the sins between them, because Allah, the Mighty and Majestic, said: 'Indeed good deeds remove evil deeds' [Surah Hud: 114]."
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 3447