Their marriage contract in not valid and she and him must repent to Allah and make a new contract after doing istibra’a

A lady was impregnation by her fiancee and instead of wait after to give birth then do istibra’i, they got married and 2 months later, she gave birth and then decided to do the istibra’i and continue leaving as husband and wife. What is the Islamic ruling

Marriage Contract |