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