Imam al-Shafi'i (may Allah have mercy on him) said: "Allah Almighty says: 'And whoever is killed unjustly, We have certainly given his heir authority (for retaliation)' [Surah al-Isra': 33].
And the Messenger of Allah (peace and blessings be upon him) said, concerning the things by which a Muslim's blood becomes lawful: 'and killing a soul without right.'
And it is narrated from the Messenger of Allah (peace and blessings be upon him): 'Whoever kills a Muslim without cause (unjustly), retaliation (shall be taken) for what his hand did.'"
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قتال أهل البغي / Q16759