Sunan An-Nasa'i - سنن النسائي
27. The Book of Divorce - كتاب الطلاق
48) Chapter: Attributing The Child To The Bed If The Owner Of The Bed Does Not Disown Him
It was narrated from Abu Hurairah that the Prophet said:
"The child is the bed's and for the fornicator is the stone."
48) باب إِلْحَاقِ الْوَلَدِ بِالْفِرَاشِ إِذَا لَمْ يَنْفِهِ صَاحِبُ الْفِرَاشِ
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، وَأَبِي، سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ . " الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ "