So? Al Azhar was clarifying a theological position, not condoning killing. It is not different from what the Chief Military Rabbi of Israel did:
And anyway adultery, homosexuality and apostasy is a sin in most religions and often punishable by death (theologically). It certainly is for Christianity and Judaism.In a Q&A section called Ask the Rabbi on the website Kipa in 2012, as part of a discussion of the Torah’s attitude towards rape in wartime, Karim was asked: “Is it allowed in our time for an IDF soldier, for example, to rape girls during a fight, or is such a thing forbidden?”
Karim answered – in the past tense and referring more generally to sexual relations with non-Jewish women – that “since the success of the whole at war is our goal, the Torah permitted the individual to satisfy the evil urge … for the purpose of the success of the whole.”