In the third year of Hijrah, the battle of Uhud took place, many encounters happened after the battle Badr and the Muslims drove the enemy back. But the clan of koreish was always planning to take vengeance on Muhammad (PBUH&HF), therefore an army of five thousand strong warriors headed by abu-sufyan left Mecca to attack media the prophet army in consultation with the companions flew to arms and came out of medina.
The bearer of the idolaters banner was a brave man named Talhah ibn abu Talhah, who was continuously challenging. Ali (AS) came forward and as soon as Talahah saw imam Ali (AS) he said: (nobody else had courage to fight me except you). The historians mentioned that Ali (AS) had killed him in the turning of a hand and then his brother lifted the banner and was killed by Ali (AS) too.
Some other fighters of the same family were killed one by one and finally a huge slave with the intent of avenging his owner challenges. The historians mentioned that Ali (AS) had divided him into two halves by the first strike of his sword as his body was still standing on the ground for a few moments
A good few of the Muslims, about fifty persons, were keeping watch on a hilly narrow pass where the enemy might cross the hill and attack from behind the Muslims back. In spite of the prophet' recommendations, they left the place to collect spoils when the enemy was running a way.
Suddenly they saw that the place was without guardians and then the enemy seized the opportunity and passed along the mountain and made an attack upon the Muslims at the rear in the meantime somebody cried loudly: Muhammad was killed.
Soon after spreading this dreadful rumor the Muslims became struck with terror and drew swords among themselves. they left Muhammad (PBUH&HF) alone and run away to the mountain except four or six persons, who remained to defend him.
The historians mentioned: all of the prophet' army. even the great companions, escaped except Ali (AS) and some persons.
Ali's sword was broken because of the sternness of the war. it was said that the sword named ((thu'l fiqaar)) was put in his hand by an angel from the invisible world and then unknown voice proclaimed: ((There Is No Manly Youth Except Ali And There Is No Sword Like Thu'l Fiqaar)). one of the great fighters of Islam named Hamzah, the prophet' uncle, was killed in this war. this bereavement left a deep impression on the prophet' heart.
At last the Muslims were defeated in this battle but the enemy did not continue the war and left for Mecca without occupying the support less medina
It was said that Ali (AS) had received ninety sword cuts in this field and in spite of the much tiredness he did not stop his support to the prophet for an instant.
In the meanwhile Gabriel came down from the heaven and said to Muhammad: look there, how Ali (AS) fights in high spirit of sacrifice. the prophet answer:(( Ali is from me and aim from him. we both have been brought into existence from the same one nature.