They are eternal but you are not gonna be in hell forever. You will be in hell until the punishment your sins required is finished. Then you wil be sent to heaven.
I think they believe this way. So basically every muslim will go to heaven eventually.