3:123
وَلَقَدْ نَصَرَكُمُ ٱللَّهُ بِبَدْرٍۢ وَأَنتُمْ أَذِلَّةٌۭ ۖ فَٱتَّقُوا۟ ٱللَّهَ لَعَلَّكُمْ تَشْكُرُونَ
And already had Allah given you victory at [the battle of] Badr while you were few in number. Then fear Allah; perhaps you will be grateful.
Translation · Saheeh International
Tafsir
Ibn Kathīr (abridged)
The Battle of Uhud
According to the majority of scholars, these Ayat are describing the battle of Uhud, as Ibn `Abbas, Al-Hasan, Qatadah, As-Suddi and others said. The battle of Uhud occurred on a Saturday, in the month of Shawwal on the third year of Hijrah. `Ikrimah said that Uhud occurred in the middle of the month of Shawwal, and Allah knows best.
The Reason Behind the Battle of Uhud
The idolators suffered many casualties among their noble men at the battle of Badr. The caravan that Abu Sufyan led (before Badr) returned safely to Makkah, prompting the remaining Makkan leaders and the children of those who were killed at Badr to demand from Abu Sufyan to, "Spend this money on fighting Muhammad!" Consequently, they spent the money from the caravan on warfare expenses and mobilized their forces including the Ahabish tribes (tribes living around the city). They gathered three thousand soldiers and marched until they camped near Uhud facing Al-Madinah. The Messenger of Allah ﷺ led the Friday prayer and when he finished with it, he performed the funeral prayer for a man from Bani An-Najjar called Malik bin `Amr. The Prophet then asked the Muslims for advice, if they should march to meet the disbelievers, or fortify themselves in Al-Madinah. `Abdullah bin Ubayy (the chief hypocrite) advised that they should remain in Al-Madinah, saying that if the disbelievers lay siege to Al-Madinah, the siege would be greatly disadvantageous to them. He added that if they decide to attack Al-Madinah, its men would face off with them, while women and children could throw rocks at them from above their heads; and if they decide to return to Makkah, they would return with failure. However, some companions who did not attend the battle of Badr advised that the Muslims should go out to Uhud to meet the disbelievers.
The Messenger of Allah ﷺ went to his home, put on his shield and came out. The companions were weary then and said to each other, "Did we compel the Messenger of Allah ﷺ to go out" They said, "O Messenger of Allah! If you wish, we will remain in Al-Madinah. " The Messenger of Allah ﷺ said,
«مَا يَنْبَغِي لِنَبِيَ إِذَا لَبِسَ لَأْمَتَهُ أَنْ يَرْجِعَ حَتَّى يَحْكُمَ اللهُ لَه»