“And I say to you, whoever divorces his wife, EXCEPT FOR SEXUAL IMMORALITY, and marries another, commits adultery; and whoever marries her who is divorced commits adultery.
Matthew 19:9
This teaching on divorce by Jesus is recounted in Matthew 5, Matthew 19, Mark 10, and Luke 16. It is further clarified in 1 Corinthian 7. Only in one of those does is state specific conditions for a divorce. In Malachi 2 it says the Lord "hates divorce".
Notice that in all of those there is a prohibition against a divorced person remarrying and against marrying a divorced person. The message is pretty clear.