Anas bin Malik reported,

On the day of Uhud, the Messenger of Allah ﷺ was left isolated with seven men from the Ansar and two men from Quraysh. When the enemy closed in on him, he said, "Who will drive them back from us and have Paradise," or, "be my companion in Paradise?"A man from the Ansar stepped forward and fought until he was killed. Then the enemy pressed in again, and he said, "Who will drive them back from us and have Paradise," or, "be my companion in Paradise?"Another man from the Ansar stepped forward and fought until he was killed. This continued until all seven were slain. The Messenger of Allah ﷺ then said to his two remaining companions, "We have not been fair to our companions."

Azami 8841

Sahih

عن أنس بن مالك

أن رسول الله ﷺ أفرد يوم أحد في سبعة من الأنصار ورجلين من قريش، فلما رهقوه قال: من يردهم عنا وله الجنة، أو هو رفيقي في الجنة؟ فتقدم رجل من الأنصار فقاتل حتى قتل، ثم رهقوه أيضا فقال: من يردهم عنا وله الجنة، أو هو رفيقي في الجنة؟ فتقدم رجل من الأنصار فقاتل حتى قتل، فلم يزل كذلك حتى قتل السبعة فقال رسول الله ﷺ لصاحبيه: ما أنصفنا أصحابنا.

الأعظمي 8841صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Uhud expedition
Section
Number of Muslims killed on the day of Uhud
Numbering
Jami al-Kamil 8841 (2nd edition)
Azami 8841