Islam has historically proved itself capable of integrating not only the diverse cultures it has encountered during its expansion but also the various mentalities and philosophical currents that crop up within its one world. This is partly due to the built-in attitude of universality that is part of Koranic doctrine, and the teachings that encourage diversity of opinion are not difficult to find.
We read in the Koran, for example, that fellowship and community are actually based on distinctions between individuals and groups:
“O, mankind! Verily We have created you male and female, and have made you nations and tribes that ye may know each other.”
And in the words of the Prophet, this is a blessing:
“Differences between the scholars of my community are a mercy from God.”
Diversity has not, of course, always been embraced in that spirit.
 Koran, 49:13.