Unintentional Killing Of Non Believers
And it is unlawful for a believer to kill a believer except if it happens by accident. And he who kills a believer accidentally must free one Muslim slave and pay diyat to the heirs of the victim except if they forgive him. If the victim is a Muslim belonging to a people at enmity with you, the freeing of a Muslim slave is enough. But if the victim belongs to an ally, diyat shall be given to his heirs and a Muslim slave shall also have to be set free . He who does not have a slave, must fast two consecutive months. This is from Allah a way to repent from this sin: and He is Wise, All-Knowing. (4:92) For a non-believer, it depends on the treaty ( treaty can be both with Non-Muslim citizens of the same Muslim State and with a Non-Muslim Nation where Muslims reside as well ). In today’s time, the treaty with Non-Muslim citizens takes the form of constitution.