Sunan an-Nasa'i, Hadith 3998 ⓘ
It was narrated that Abu 'Imran Al-Jawni said: "Jundab said: 'So and so told me that the Messenger of Allah [SAW] said: The slain will bring his killer on the Day of Resurrection and will say: Ask him why he killed me. He will say: I killed him defending the kingdom of so and so.'" Jundab said: "So be careful.'"
أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ تَمِيمٍ، قَالَ حَدَّثَنَا حَجَّاجٌ، قَالَ أَخْبَرَنِي شُعْبَةُ، عَنْ أَبِي عِمْرَانَ الْجَوْنِيِّ، قَالَ قَالَ جُنْدَبٌ حَدَّثَنِي فُلاَنٌ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " يَجِيءُ الْمَقْتُولُ بِقَاتِلِهِ يَوْمَ الْقِيَامَةِ فَيَقُولُ سَلْ هَذَا فِيمَ قَتَلَنِي فَيَقُولُ قَتَلْتُهُ عَلَى مُلْكِ فُلاَنٍ " . قَالَ جُنْدَبٌ فَاتَّقِهَا . 85
also referenced under: Book 37, Hadith 33 (In-Book) & Volume 5, Book 37, Hadith 4003 (DarusSalam)