Surah Al-Isra, ayah 33

17:33

وَلَا تَقۡتُلُواْ ٱلنَّفۡسَ ٱلَّتِي حَرَّمَ ٱللَّهُ إِلَّا بِٱلۡحَقِّۗ وَمَن قُتِلَ مَظۡلُومٗا فَقَدۡ جَعَلۡنَا لِوَلِيِّهِۦ سُلۡطَٰنٗا فَلَا يُسۡرِف فِّي ٱلۡقَتۡلِۖ إِنَّهُۥ كَانَ مَنصُورٗا ٣٣

Walā taqtulun-nafsal-latī harramallāhu illā bil-haqqi waman qutila mazlūman faqad ja'alnā liwaliyyihī sultānan falā yusrif fil-qatli innahū kāna mansūrā

And do not kill the soul [i.e., person] which Allāh has forbidden, except by right.742 And whoever is killed unjustly - We have given his heir authority,743 but let him not exceed limits in [the matter of] taking life. Indeed, he has been supported [by the law].

Footnotes

742 i.e., through legal justice or during jihād.

743 Grounds for legal action.