Westminster Confession of Faith 24.5

Chapter 24 — Of Marriage and Divorce

Section 5. Adultery or fornication, committed after a contract, being detected before marriage, giveth just occasion to the innocent party to dissolve that contract. In the case of adultery after marriage, it is lawful for the innocent party to sue out a divorce, and after the divorce to marry another, as if the offending party were dead.