In muslim community, if a woman has had sex with a man, and she is pregnant, and in the state of her pregnancy, can she marry the man with whom she has had sex? Does Islam accept that nikah? I want the opinion of only a Sunni Muslim scholar.
Assalam o Allaikum.
Obviously, she can marry him. But the intercourse that they both had is still considered as Zinna (Haram) and you both need to ask for forgiveness. May Allah forgive you both. Ameen.
For your further reference https://hadithoftheday.com/adultery/