Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Allah smiles at two men, one of whom kills the other, yet both enter Paradise. One fights in the cause of Allah and is killed. Then Allah accepts the repentance of his killer, who then fights and is martyred."

Nasai 3168

Sahih

أخبرنا محمد بن سلمة والحارث بن مسكين قراءة عليه وأنا أسمع عن ابن القاسم قال حدثني مالك عن أبي الزناد عن الأعرج

عن أبي هريرة

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

النسائي 3168صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Jihad
Chapter
Tafsir of that
Numbering
Darussalam 3168
Nasai 3168