Sunan Ibn Majah — Hadith 1739 (KitabGrid sequence)
It was narrated from 'Umar that:
حَدَّثَنَا أَبُو بَكۡرِ بۡنُ أَبِي شَيۡبَةَ، حَدَّثَنَا سُفۡيَانُ بۡنُ عُيَيۡنَةَ، عَنۡ عُبَيۡدِ اللَّهِ بۡنِ أَبِي يَزِيدَ، عَنۡ أَبِيهِ، عَنۡ عُمَرَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَضَى بِالۡوَلَدِ لِلۡفِرَاشِ .
Translation
Abu Bakr ibn Abi Shaybah narrated to us; Sufyan ibn Uyaynah narrated to us, from Ubaydullah ibn Abi Yazid, from his father, from Umar رضي الله تعالى عنه
The Messenger of Allah صلى الله عليه وآله وسلم ruled that the child belongs to the marital bed.