Narrated Abu Hurairah: Allah’s Messenger, peace be upon him, said, “Allah welcomes two men with a smile; one of who kills the other and both of them enter Paradise. One fights in Allah’s cause and gets killed.
Later on Allah forgives the killer (i.e. he embraces Islam) who also gets martyred (in Allah’s cause).”
[4: 80(A) – O.B. Sahih Al-Bukhari)