حَدَّثَنَا سَعِيدٌ قَالَ: نا عَبْدُ الرَّحْمَنِ بْنُ أَبِي الزِّنَادِ، عَنْ أَبِيهِ، عَنِ الْأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «يَضْحَكُ اللَّهُ إِلَى رَجُلَيْنِ قَتَلَ أَحَدُهُمَا الْآخَرَ كِلَاهُمَا دَخَلَ الْجَنَّةَ، يُقَاتِلُ هَذَا فِي سَبِيلِ اللَّهِ فَيُقْتَلُ، فَيُسْتَشْهَدُ، ثُمَّ يَتُوبُ اللَّهُ عَلَى هَذَا فَيُسْلِمُ فَيُقَاتِلُ فِي سَبِيلِ اللَّهِ فَيُقْتَلُ فَيُسْتَشْهَدُ»
It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: "Allah laughs at two men, one of whom killed the other, yet both entered Paradise. One fought in the way of Allah and was martyred, then Allah showed mercy to the killer, he accepted Islam, then he fought in the way of Allah and was martyred."
Brief Explanation
This hadith is authentic. (Since the text is established from Sahih Bukhari and Muslim, therefore, any slight weakness in the chain of narration holds no significance.)