(48) باب إِلْحَاقِ الْوَلَدِ بِالْفِرَاشِ إِذَا لَمْ يَنْفِهِ صَاحِبُ الْفِرَاشِ
It was narrated from Abu Hurairah that the Prophet said:
"The child is the bed's and for the fornicator is the stone."
Reference: Sunan an-Nasa'i 3482
In-book reference: Book 27, Hadith 94
English translation: Vol. 4, Book 27, Hadith 3512