Sorry, but AFAIK there isn’t a single Muslim country where this is the law. It happens, and Muslims get away with it, but it’s extralegal.
Just as in the South during Jim Crow a white man could claim a black man attacked him or insulted a white woman and he’d get away with killing him. No evidence other than his own word needed. Under the formal law it was just as illegal for a white man to kill a black man as the reverse, but in practice there was a huge difference.
seems like a technicality to me.