Musnad Ahmad
It was narrated from ‘Umar bin al Khattab رضي الله عنه that the Messenger of Allah (ﷺ) ﷺ said: `The child belongs to the (husband or master of the) woman.`
حَدَّثَنَا سَفْيَانُ، عَنْ ابْنِ أَبِي يَزِيدٍ، عَنْ أَبِيهِ، عَنْ عُمَرَ بْنِ الْخَطَّابِ، رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ الْوَلَدُ لِلْفِرَاشِ.
Grade: [Sahih lighairihi (Darussalam)
Reference