Rabah said: My people married me to a Roman slave-girl of theirs. I had intercourse with her, and she gave birth to a black (male) child like me. I named it Abdullah. I again had intercourse with her, and she gave birth to a black (male) child like me. I named it Ubaydullah. Then a Roman slave of my people, called Yuhannah, incited her, and spoke to her in his own unintelligible language. She gave birth to a son like a chameleon (red). I asked her: What is this? She replied: This belongs to Yuhannah. We then brought the case to Uthman (for a decision). I think Mahdi said these words. He inquired from both of them, and they acknowledged (the facts). He then said to them: Do you agree that I take the decision about you, which the Messenger of Allah ﷺ had taken? The Messenger of Allah ﷺ decided that the child was to attributed to the one on whose bed it was born. And I think he said: He flogged her and flogged him, for they were slaves.
This hadith teaches us an important lesson about taking responsibility for our actions; if we do something wrong or make mistakes then we must take responsibility for them instead of trying to pass off blame onto someone else or deny our involvement in any way possible. It also teaches us about justice; even though both parties involved were slaves at that time, they still received fair judgement according to Islamic law without any bias or prejudice towards either party involved in this case.