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 upon him, he said, "Who will drive them back from us and have Paradise?" or "He will 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 "He will be my companion in Paradise."Another man from the Ansar stepped forward and fought until he was killed. This continued until all seven of them had been killed.The Messenger of Allah ﷺ then said to his two remaining companions, "We have not been fair to our companions."

Azami 8863

Sahih

عن أنس بن مالك

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

الأعظمي 8863صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Uhud expedition
Section
Those who stood firm with the Prophet ﷺ on the day of Uhud
Numbering
Jami al-Kamil 8863 (2nd edition)
Azami 8863