He taught that if a man divorces his wife and marries another woman, he is committing adultery.
Except in the case of sexual immorality in the first marriage. Matthew 19 IIRC.
But like all sins, even adultery is not beyond forgiveness. I would personally require confession and absolution, but I will not deny a repentant sinner the grace of God.
Key word repentant.