حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ قَالَ " الْوَلَدُ لِلْفِرَاشِ . وَلِلْعَاهِرِ الْحَجَرُ " .
It was narrated from Abu Hurairah that: the Prophet said: "The child is for the bed (i.e., belongs to the husband) and the fornicator gets nothing!' Translation Not Available
Book Ref: Sunan Ibn Majah Book 9 Hadith 2006
Web Ref: Sunan Ibn Majah Vol 3 Book 9 Hadith 2006