Bernard Lewis said this quote

It is often said that Islam is an egalitarian religion. There is much truth in this assertion. If we compare Islam at the time of its advent with the societies that surrounded it—the stratified feudalism of Iran and the caste system of India to the east, the privileged aristocracies of both Byzantine and Latin Europe to the west—the Islamic dispensation does indeed bring a message of equality. Not only does Islam not endorse such systems of social differentiation; it explicitly and resolutely rejects them. The actions and utterances of the Prophet, the honored precedents of the early rulers of Islam as preserved by tradition, are overwhelmingly against privilege by descent, by birth, by status, by wealth, or even by race, and insist that rank and honor are determined only by piety and merit in Islam.