Messenger of Allah (S.A.W.) has said:
“The five daily prayers and from one Friday prayer to the next Friday prayer, and from one Ramadan to the next are an expiation for whatever (sins) come in between, so long as one avoids major sins.”
[Sahih Muslim: 233(c)].