Islam (like any religion) is based on the idea that this religion is better than any other religion (or belief system, like atheism). Nazism is based on the idea that being white/Aryan is better than others.
You could argue that Islam was foundationally rooted in violence. https://en.wikipedia.org/wiki/Early_Muslim_conquests