Sunan an-Nasa'i, Book 27, Hadith 94 (Nasa'i 3488)

It was narrated from Abu Hurairah that the Prophet said:

"The child is the bed's and for the fornicator is the stone."