The Messenger of Allah ﷺ said, "The five daily prayers and Friday prayer to the next Friday prayer are an expiation for whatever sins occur between them, so long as major sins are avoided."
حدثنا عفان قال حدثنا حماد بن سلمة قال أخبرنا علي بن زيد وصالح المعلم وحميد ويونس عن الحسن
أن رسول الله ﷺ قال الصلوات الخمس والجمعة إلى الجمعة كفارات لما بينهن ما اجتنبت الكبائر
Its isnad is sahih through its three routes, except for the route of Salih the teacher, which is daif due to his being unknown.The hadith is found in Muslim, 1/209, no. 233, in the Book of Purification, "The Five Prayers and Friday Prayer to Friday Prayer..."And in Tirmidhi, 1/418, no. 214, in the Book of Prayer, "What Has Been Said About the Merit of the Five Prayers," where he said, hasan sahih.And in Ibn Majah, 1/196, no. 598, in the Book of Purification, "Under Every Hair There Is Impurity from Sexual Defilement."