if a man and a woman have sex before marriage and still marry eachother is allah still going to punish them
If they repent then there will be no punishment inshaAllah. Please see: How to repent from zina (sex outside of marriage)
And God knows best.
Asking questions is temporarily unavailable. Sorry for the inconvenience.