It is narrated from Rabah (may Allah have mercy on him) that he said: "My masters married me to one of their Roman slave-women. I had relations with her and she gave birth to a black boy like me, whom I named Abdullah. Then I had relations with her again and she again gave birth to a black boy like me, whom I named Ubaydullah. Then a Roman slave of my masters, called Yuhannas, beguiled her, and he would talk to her in his own language. Then that slave-woman gave birth to a child who looked (in his colour and appearance) like one of the geckos. I asked her: 'What is this?' She replied: 'It is Yuhannas's.'" Rabah said: "Then we were taken to the court of the Commander of the Believers, Sayyiduna Uthman (may Allah be pleased with him)."
Mahdi (may Allah have mercy on him) said: I think he said: "Sayyiduna Uthman (may Allah be pleased with him) questioned the two of them and they confessed (to the offence). So he (may Allah be pleased with him) said to them: 'Are you pleased that I judge between you according to the judgement of the Messenger of Allah (peace and blessings be upon him), which he (peace and blessings be upon him) gave: "The child belongs to the (owner of the) bed (the husband)"?'"
Mahdi (may Allah have mercy on him) said: "I think Sayyiduna Uthman (may Allah be pleased with him) had both that slave and that slave-woman flogged, and both of them were slaves."
Al-Hasan bin Sa'd (may Allah have mercy on him) narrates from Rabah (may Allah have mercy on him), and then he mentioned the like of it or something close to it.
Rabah (may Allah have mercy on him) narrates from Sayyiduna Uthman bin Affan (may Allah be pleased with him) concerning a case that was brought to him, that he said: "I will judge between you according to the judgement of the Messenger of Allah (peace and blessings be upon him); indeed the Prophet (peace and blessings be upon him) gave the judgement: 'The child belongs to the (owner of the) bed (i.e. the husband).'"
Abu Dawud al-Tayalisi (may Allah have mercy on him) narrated it in his "Musnad" from Jarir bin Hazim and Mahdi bin Maymun.
And Imam Ahmad (may Allah have mercy on him) narrated it in full in his "Musnad" through Bahz and Yazid bin Harun from Mahdi.
And Imam Abu Dawud (may Allah have mercy on him) narrated it from Musa bin Isma'il, from Mahdi.
Imam al-Daraqutni (may Allah have mercy on him) was asked about this narration, and he said: "Mahdi bin Maymun and Jarir bin Hazim narrated it from Muhammad bin Abdullah bin Abi Ya'qub (may Allah have mercy on him), from al-Hasan bin Sa'd (may Allah have mercy on him), from Rabah (may Allah have mercy on him), from Sayyiduna Uthman (may Allah be pleased with him). However, Hajjaj bin Artah (may Allah have mercy on him) differed from them and narrated it from al-Hasan bin Sa'd (may Allah have mercy on him), from his father, and gave the hadith a chain going back to Sayyiduna Ali bin Abi Talib (may Allah be pleased with him), from the Prophet (peace and blessings be upon him). But the first version (which mentions Sayyiduna Uthman, may Allah be pleased with him) is more correct."