Imam al-Bukhari (may Allah have mercy on him) said in the chapter heading: "It is mentioned from Sayyiduna Umar (may Allah be pleased with him): 'Retaliation is taken from a woman for a man in every deliberate (offence) that reaches the life or wounds less than that.' Umar bin Abd al-Aziz (may Allah have mercy on him) said the same, and Abu al-Zinad (may Allah have mercy on him) (reported it) from his companions."
He said: "The sister of al-Rubayyi' wounded a person, and the Prophet (peace and blessings be upon him) said: 'Retaliation (applies).'"
Al-Shaykh (may Allah have mercy on him) said: "As for the narration on this from the two Umars (Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) and Umar bin Abd al-Aziz (may Allah have mercy on him)), it has already passed from Abd al-Aziz bin Umar, that in a document of Umar bin Abd al-Aziz (may Allah have mercy on him) it was written that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) said: 'Retaliation is taken for a slave from a slave in every deliberate (offence) that reaches the life or less than that.'"
There is a lengthy narration from Anas (may Allah be pleased with him); it will come in its proper place, in sha Allah. Humayd's narration from Anas differs somewhat, in that Anas said: Al-Rubayyi' (may Allah be pleased with her) slapped a slave girl, which broke her front teeth. Thabit is the more precise (in memory), and it is possible that these are two separate incidents, and this is the more apparent view. There are also narrations on this from Ibn Abbas and Zayd bin Thabit (may Allah be pleased with them both).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنايات / 15968