Allah, the Blessed and Exalted, says: "And We prescribed for them therein (in the Torah) that a life is for a life." [Surah al-Ma'idah: 45]
And the Prophet (peace and blessings be upon him) said: "The blood of the Muslims is equal (in retaliation), one to another."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / Q15903
Ibn Shihab (may Allah have mercy on him) said: Allah, the Mighty and Majestic, says: "O you who believe, retaliation is prescribed for you in the case of those who are killed" [Surah al-Baqarah: 178] (the whole verse). Then He says: "And We prescribed for them therein that a life is for a life" [Surah al-Ma'idah: 45] (the whole verse). Ibn Shihab said: When this verse was revealed, retaliation was taken from a man for a woman, and also in deliberately inflicted wounds.
It is authentic up to Ibn Shihab (may Allah have mercy on him).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15903
Amr bin Shu'ayb narrates from his father, and he from his grandfather (may Allah be pleased with him), that the Messenger of Allah (peace and blessings be upon him) said: "The blood of the believers is equal, one to another, and they are as one hand against those besides them."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15904
Abu Bakr bin Muhammad bin Amr bin Hazm narrates from his father, and he from his grandfather, that the Prophet (peace and blessings be upon him) wrote a letter to the people of Yemen in which the obligations, the sunnahs and the blood monies were mentioned, and which Amr bin Hazm (may Allah be pleased with him) carried. It also contained: "A man will be killed in return for a woman."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15905
Sayyiduna Anas bin Malik (may Allah be pleased with him) said: A Jew killed a girl for her silver ornaments, so the Messenger of Allah (peace and blessings be upon him) killed him in return for her.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15906