Deuteronomy 22:22

22 "If a man is found lying with a woman married to a husband, then both of them shall die--the man that lay with the woman, and the woman; so you shall put away the evil from Israel.

Deuteronomy 22:22 In-Context

20 But if the thing is true, and evidences of virginity are not found for the young woman,
21 then they shall bring out the young woman to the door of her father's house, and the men of her city shall stone her to death with stones, because she has done a disgraceful thing in Israel, to play the harlot in her father's house. So you shall put away the evil from among you.
22 "If a man is found lying with a woman married to a husband, then both of them shall die--the man that lay with the woman, and the woman; so you shall put away the evil from Israel.
23 "If a young woman who is a virgin is betrothed to a husband, and a man finds her in the city and lies with her,
24 then you shall bring them both out to the gate of that city, and you shall stone them to death with stones, the young woman because she did not cry out in the city, and the man because he humbled his neighbor's wife; so you shall put away the evil from among you.
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.