Hafiz Muhammad Ameen
“They will be among the people of Hellfire”: This refers to bandits and those who wage war (muharibin) against Allah and His Messenger. Their punishment can even be execution. When such a person is killed in battle, his punishment is thereby fulfilled. In the Hereafter, too, he will be among the people of Hellfire, because he was killed while openly opposing the Shari‘ah without repentance, and while killing innocent Muslims. For this reason, some scholars are of the opinion that his funeral prayer should not be performed, because his being among the people of Hellfire is definitive. And Allah knows best.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 4088