Islam is contrary to communism in every way. Not to mention that communism is not even an ideology but it is created by Jews for the purpose of genocide of the entire world.
Communism is against religion.
Communism goes against Islamic business and financial practices.
Communism goes against Islamic social practices and laws.
Communists fought against the Muslim world in Afghanistan.
Communists likely were responsible for the death and oppression of many Muslims in the USSR and China.
Communism is a completely Jewish invention and Jews are known for hating Islam and doing everything in their power to hurt Islam.