Guess what? There 1.3 billion Muslims in the world. When you, by inference, suggest that they all are medieval and subscribe to the philosophy of a tiny minority that embraces Sharia and other retrograde ideas you are being prejudicial. 
You have every right to express that, and believe that, but others have a right to call you on it.