The five stated prayers erase the sins which have been committed during the intervals between them if they have not been mortal sins -Prophet Muhammad (PBUH)