Is making fun of islam considered blasphemy? Will allah forgive a muslim if he does this act?

If the mockery is directed at Allah and his prophet yes it’s deemed blasphemous and the person must re enter Islam and then ask for forgiveness and yes if they are sincere Allah will accept their repentance