How did Western Europe and the Byzantine Empire influence Islam? How did the Spread of Islam create a a power shift from Eastern Europe to Western Europe?

How did Western Europe and the Byzantine Empire influence Islam? How did the Spread of Islam create a a power shift from Eastern Europe to Western Europe?