This is an issue that can be decided by the Muslim ruler who tells us who is an enemy of Islam and who is a kafir with pledge or with permission to live among us etc.
Individuals don’t have the right to go around selecting people and killing them. Such barbaric acts are not from islam.