It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:"Allah laughs at two men, one of whom killed the other but they both entered Paradise. The first one fought in the cause of Allah and was killed, then Allah accepted the repentance of the one who killed him, and he fought and was martyred
Hadith No. 3166
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih Bukhari