ENOfficial
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.`
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا سَفْيَانُ، عَنْ ابْنِ أَبِي يَزِيدٍ، عَنْ أَبِيهِ، عَنْ عُمَرَ بْنِ الْخَطَّابِ، رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ الْوَلَدُ لِلْفِرَاشِ.
sunnah.com