It was narrated from Abu Hurairah that the Messenger of Allah said:"The child is the bed's and for the fornicator is the stone
Hadith No. 3483
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih Muslim