It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) and Abu Salama (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.