It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: "The child belongs to the (owner of the) bed, and for the adulterer there are stones."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7763