It was narrated from 'Umar that:the Messenger of Allah ruled that the child belonged to the bed
Hadith No. 2005
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Zubair Ali Zai:
Sahih