in medina , muhammad raised the army that conquered mecca , setting the stage for the rapid sweep by arab armies that eventually carried islam across arabia , westward through north africa , sicily and spain , and north and east as far as modern turkey , iran and central asia .