You are currently uneducated and unsophisticated and hence don't know that. Muslims all over have been modern Communists and Socialists since the early 1900s. The famous landmark called Lal Chowk in Srinagar, capital of current India-administered Kashmir, was named so before Partition by local Muslim and Sikh Communists taking inspiration from the Red Square in Moscow in their agitation against Hari Singh, the raja of the region.
You should read
this thread of mine from 2016 whose OP is an article by the Pakistani journalist Nadeem Paracha and is about historic Muslim participation and taking inspiration from Communism and Socialism. I quote a section :
There have been entire Communist and Socialist Muslim movements and countries. See my profile picture. What do you think Libya was before 2011 ?
And you are in Britain. You have the Pakistan-origin Communist Tariq Ali living there and whose parents in undivided India ( before Partition ) and in Pakistan were Communists.