Abu Bakr as-Siddiq 'Abdallah bin Abi Quhafah (Arabic: 'bw bkr lSdyq `bd llh bn 'by qHf@; c. 573 CE - 22 August 634 CE), popularly known as Abu Bakr ('bw bkr), was a senior companion (Sahabi) and--through his daughter Aisha--the father-in-law of the Islamic prophet Muhammad. Abu Bakr became the first openly declared Muslim outside Muhammad's family. Abu Bakr served as a trusted advisor to Muhammad.
In 630 he was part of Battle of Hunayn and Siege of Ta'if. In the Battle of Hunayn as the Muslim army passed through the valley of Hunayn some eleven miles north east of Mecca a rain of arrows fell on it let loose by a group of archers of the hostile tribes that lay hid in the mountain pass. 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 the attempt to seek cover. Muhammad stood firm. There were only nine companions around him including Abu Bakr. All the rest had fled. Under the instructions of Muhammad, 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 Muslim 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. Muhammad posted a contingent to guard the Hunayn pass and led the main army to Autas. In the confrontation at Autas the tribes could not withstand the Muslim onslaught. Finding the resistance useless the tribes broke the camp and retired to Ta'if. Abu Bakr was commissioned by Muhammad to lead the attack against Ta'if. From Autas the Muslim forces set out for Ta'if. The tribes shut themselves in the fort and refused to come out in the open. The Muslim employed catapults to throw stones in the town, but this did not lead to any tangible results. The Muslim tried the testudo device whereunder a group of soldiers shielded by a cover of cowhide advanced to set fire to the gate. The enemy threw red hot scraps of iron on the testudo which made it ineffective. The siege dragged on for two weeks, and still there was no sign of the fall of the fort. Muhammad held a council of war. Abu Bakr advised that the siege might be raised and that God would Himself make arrangements for the fall of the fort. The advice was accepted, and in February 630, the siege of Ta'if was raised and the Muslim army returned to Mecca. A few days later Malik bin Auf the commander, came to Mecca and became a Muslim. Thus the forecast of Abu Bakr came to be fulfilled, and the God Himself arranged for the surrender of Ta'if.

Q: What was the Battle of Hunayn?
A: a rain of arrows fell on it let loose by a group of archers of the hostile tribes that lay hid in the mountain pass.

Q: What did they do when the reached there?
A: Taken unaware the advance guard of the Muslim army fled in panic.
Then what did they do?
There was considerable confusion, and the camels, horses and men ran into one another in the attempt to seek cover. Muhammad stood firm. There was considerable confusion, and the camels, horses and men ran into one another in the attempt to seek cover. There was considerable confusion, and the camels, horses and men ran into one another in the attempt to seek cover. Muhammad stood firm. Muhammad stood firm. There were only nine companions around him including Abu Bakr. Under the instructions of Muhammad, Abbas shouted at the top of his voice "O Muslims come to the Prophet of Allah".
Under the instructions of Muhammad, Abbas shouted at the top of his voice "O Muslims come to the Prophet of Allah".