Leviticus 20:14

If any man, having taken the daughter as a wife, will have married her mother, he has acted according to wickedness. He shall be burnt alive with them. Neither shall so great a nefarious act persist in your midst

Other versions

King James Version

And if a man take a wife and her mother, it is wickedness: they shall be burnt with fire, both he and they; that there be no wickedness among you.

English Standard Version

If a man takes a woman and her mother also, it is depravity; he and they shall be burned with fire, that there may be no depravity among you.

New International Version

"'If a man marries both a woman and her mother, it is wicked. Both he and they must be burned in the fire, so that no wickedness will be among you.