It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he sent for a man of Banu Zuhrah while he was in the Hatim (Hijr Isma'il). The narrator said: I too went with him to that man, who had lived in the days of ignorance (jahiliyyah). He (may Allah be pleased with him) asked him about a birth (lineage) from the births of the days of ignorance. (Sufyan (may Allah have mercy on him) said in explanation of this that the women of the people of ignorance had no waiting period ('iddah); when a woman's husband died, she would immediately go and marry another and would not observe a waiting period.) So he (may Allah be pleased with him) asked him about the sperm-drop, and he said: "As for the sperm-drop, it is from so-and-so; but as for the child, it belongs to the bed of so-and-so (i.e. the lawful husband)." Hearing this, Sayyiduna Umar (may Allah be pleased with him) said: "He has spoken the truth; but the Messenger of Allah (peace and blessings be upon him) gave the judgement that the child belongs to the owner of the bed (sahib al-firash) (i.e. the one in whose marriage the woman is)." Then, when the man turned his back to leave, Sayyiduna Umar (may Allah be pleased with him) called him back and said: "Tell us about the building of the House of Allah." He said: "Quraysh gathered all their strength and resources for the building of the Ka'bah, but they fell short, so they left part of the Ka'bah in the Hatim (i.e. left it outside the structure)." Upon this Sayyiduna Umar (may Allah be pleased with him) said: "He has spoken the truth."
Imam Ahmad bin Hanbal (may Allah have mercy on him) mentioned only the marfu' part of this narration, while Imam Ibn Majah (may Allah have mercy on him) placed it in the Musnad of Sayyiduna Umar bin al-Khattab (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) gave judgement that the child belongs to the owner of the bed." Likewise, Imam Musaddad also recorded it in his Musnad through Sufyan, and Imam al-Bayhaqi (may Allah have mercy on him) recorded it in his Sunan through the route of Imam al-Shafi'i (may Allah have mercy on him) from Sufyan, just as Imam al-Humaydi, Ibn Abi Umar and Ishaq (may Allah have mercy on them) narrated it.