How did the spread of Islam differ inside and outside of the Arab Muslim empire?