Abu Hurairah reported,

The Prophet ﷺ said, "Allah smiles upon two men, one of whom kills the other, yet both enter Paradise. One fights in the cause of Allah and is martyred. Then Allah turns in mercy to the killer, who embraces Islam and fights in the cause of Allah until he too is martyred."

Ahmad 9976

Sahih

حدثنا وكيع قال حدثنا سفيان عن أبي الزناد عن الأعرج

عن أبي هريرة

عن النبي ﷺ قال يضحك الله إلى رجلين يقتل أحدهما الآخر كلاهما يدخل الجنة يقاتل هذا في سبيل الله فيستشهد قال ثم يتوب الله على قاتله فيسلم فيقاتل في سبيل الله حتى يستشهد

أحمد 9976صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 9976
Ahmad 9976