In 630, the Muslim army was ambushed by archers from the local tribes as it passed through the valley of Hunayn, some eleven miles northeast of Mecca. Taken unaware, the advance guard of the Muslim army fled in panic. There was considerable confusion, and the camels, horses and men ran into one another in an attempt to seek cover. Muhammad, however, stood firm. Only nine companions remained around him, including Abu Bakr. Under Muhammad's instruction, his uncle Abbas shouted at the top of his voice, "O Muslims, come to the Prophet of Allah". The call was heard by the Muslim soldiers and they gathered beside Muhammad. When the Muslims had gathered in sufficient number, Muhammad ordered a charge against the enemy. In the hand-to-hand fight that followed the tribes were routed and they fled to Autas.