Sunan an-Nasa'i 3482
سنن النسائي#3482Sahihأَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، وَأَبِي، سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ " الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ " .
It was narrated from Abu Hurairah that the Prophet said:"The child is the bed's and for the fornicator is the stone
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
Abu GhuddahSahih
Al-AlbaniSahih
Zubair Ali ZaiSahih Muslim
In-book reference: 27:94