It's hard to imagine a faith more hostile to all idolatry, fierce in its uncompromising monotheism, and opposed to the caste system as Islam When sufi mystics or the emperor Akbar tried to create a synthesis between the two faiths, the orthodox on both sides resisted.
Islam is opposed to the caste system.