Praise be to Allah.
What we mentioned in our website was that the marriage of a man who committed zina with a woman then got married before repenting, and before waiting for the prescribed period to establish that there is no pregnancy, is invalid. However, this is a matter concerning which the fuqaha' (jurists) differ. What we followed is the view of Imam Ahmad (may Allah have mercy on him), and the evidence supports his view. For more information on that see the answer to question no. 85335
Some of the fuqaha' regard as valid a marriage contract done before repenting; some regard it as valid even if the woman is pregnant, if the pregnancy is from the man who is marrying her.
Allah has blessed you with Islam, and Islam erases what came before it of zina and other sins, and you have fulfilled the conditions of repentance. Allah, may He be exalted, says (interpretation of the meaning):
Say to those who have disbelieved, if they cease (from disbelief) their past will be forgiven
The Hanafis and Shaafais are of the view that it is permissible to do the marriage contract with a woman who is pregnant as a result of zina and to have intercourse with her after getting married, if he (the husband) is the one with whom she committed zina.
See: al-Mawsooah al-Fiqhiyyah al-Kuwaitiyyah, 29/338; Haashiyat Ibn Aabideen, 3/49
Undoubtedly to be on the safe side you should redo the marriage contract, so as to avoid a matter concerning which there is a difference of scholarly opinion. If your husband consulted a scholar who says that the marriage is valid, or he is following the Hanafi or Shaafai madhhabs (schools of thought), then he does not have to redo the marriage contract and in that case you will not be sinning by staying with him, seeing that the issue is one of those issues that are subject to ijtihaad, concerning which the scholars differed.
Renewing the contract does not have to be registered; rather it could be done between the husband and the Muslim guardian, if there is one, in the presence of two witnesses. If there is no Muslim guardian, the imam of the Islamic Centre can do the marriage contract for you and act as your guardian.
And Allah knows best.
Reproduced from Islam QA