Maulana Mohammad Ali and Shaukat Ali were two prominent leaders of Muslim League during the freedom struggle.
Initially, they shared the same platform with Mahatma Gandhi during the early 1920s. Maulana Mohammad Ali praised Gandhi that he was "the most Christ-like figure of our times" and he deplored that the Christian government (British government) ill-treated him.
After a couple of years, they stopped going around with Gandhi. They said that as far as character is concerned, Mahatma Gandhi is one of the rarest persons with highest character among Muslims and non-Muslims put together. But, since Gandhi is a non-Muslim, they consider him to be inferior to a Muslim, however bad the character of this Muslim may be. A non-Muslim with good character is inferior to a Muslim with bad character. That is what the Islamic doctrine says, they said.
This is not the personal opinion of two Muslims. That was the collective opinion of Indian Muslims. This is documented in the form of a fatwa in the Indian Muslim law books.
This throws some light on how Muslims think about non-Muslims.