“The child is for the bed, and for the fornicator is the stone.”

Jami` at-Tirmidhi Book 12, Hadith 12