Following the death of the Prophet Mohammed in 632 , Arab armies , united under Islam , poured out of their homeland , and soon took Egypt , Syria , and Palestine from the Byzantines ; Constantinople was besieged from 674 to 678 , but survived because of its defences .
After failing to take the city of Constantinople , Arab armies stopped attacking the Byzantine Empire .