This is the sin has to do the Taubah and istighgar. If Aamal for next 40 days is not acceptable doesn’t mean to stop doing ibadaat in 40 days do Aamal and Istighfar and seek forgiveness so Allah accept Aamal after that period. It is not permission to stop aamal.