Members of the Osttürkischer Waffen-Verband der SS praying to Allah.
It seems as though their Muslim beliefs did not contrast with their devotion to the Nazi ideology. Considering the Nazi ideology was, like Islam, anti-Jewish, barbaric, bloodthirsty and imperialistic, this was a quite understandable.
Muslims also made up the majority of other SS divisions including the Handschar and Skanderbeg divisions. Hitler was quite aware of the violent nature of Islam and asked his Arab Muslim friend, the Mufti Al Husseini, to recruit Muslims from all over the world to fight for the Nazis under a banner of Allah and they enthusiastically did.