Q: Would a nikah (marriage) to a woman who is pregnant from zinaa (adultery) be valid?
A: The nikah will be valid but intercourse will only be permissible after nifaas after the delivery of the baby if the man she committed zinaa with is someone else besides her husband. (Fatwaa Raheemiyah volume 5)