Yeah he was a muslim but it doesn’t appear that the fact he was a dirt worshipper had anything to do with the killing.
If you really want to make people made give his conversion to Islam as evidence of his mental instability.