It was the Muslims who taught the Nazis to hate Jews.
Jew hating was a big thing they had in common, but they had somewhat different reasons. The Muslims hated the Jewish religion most of all, being believing it to be a threat to their own. The Nazi reasons were more complex. German Jews generally flourished during the Weimer Republic, while the rest of Germany suffered. That eventually drew suspicion and eventual hatred, allowing the Nazis to exploit them as scapegoats. So a lot of German propaganda matched the Muslim propaganda at the time, which is needless to say here outright lies. They also borrowed a Russian propaganda tool, the Protocols of the Elders of Zion, also fraudulent. But in the end, hatred based on fallacious propaganda is just that. The real reason goes deeper. Socialists traditionally hate Jews because they’re a reminder of God and moral values, which they endlessly try to get rid of and replace with an all-powerful state. The closest thing we have now to socialism is political correctness, which replaces God’s morality with that of man’s.