Sahih Muslim 233b
Sahih Muslim · Book 2: The Book of Purification · The five daily prayers, from one Jumu`ah to the next, and from one Ramadan to the next, are an expiation for whatever (sins) come in between, so long as one avoids major sins
Abu Huraira reported that the Messenger of Allah (ﷺ) said:
حَدَّثَنِي نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ ، أَخْبَرَنَا عَبْدُ الأَعْلَى ، حَدَّثَنَا هِشَامٌ ، عَنْ مُحَمَّدٍ ، عَنْ أَبِي هُرَيْرَةَ ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " الصَّلَوَاتُ الْخَمْسُ وَالْجُمُعَةُ إِلَى الْجُمُعَةِ كَفَّارَاتٌ لِمَا بَيْنَهُنَّ " .
The five (daily) prayers and one Friday prayer to (the next) Friday prayer are expiations (for the sins committed in the intervals) between them.