Sunan an-Nasa'i, Book 27, Hadith 98 (Nasa'i 3492)

It was narrated from 'Abdullah that the Messenger of Allah said:

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