All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
The adulterers must be punished as prescribed in Sharia for they have incurred the wrath of Almighty Allah. Therefore, they must hasten to make repentance and ask Allah for forgiveness. However, the child born out of this unlawful relation is attributed to the mother. And Allah The Almighty Knows Best.