Sayyiduna Ali (may Allah be pleased with him) said: When a man orders his slave to kill someone, the slave is like his sword or his whip; the master will be killed in retaliation and the slave will be put in prison.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 16028