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

Sunan an-Nasa'i Book 27, Hadith 98