Deuteronomy 22:20-29 New Revised Standard Version (NRSV)
20 If, however, this charge is true, that evidence of the young woman’s virginity was not found, 21 then they shall bring the young woman out to the entrance of her father’s house and the men of her town shall stone her to death, because she committed a disgraceful act in Israel by prostituting herself in her father’s house. So you shall purge the evil from your midst.
22 If a man is caught lying with the wife of another man, both of them shall die, the man who lay with the woman as well as the woman. So you shall purge the evil from Israel.
23 If there is a young woman, a virgin already engaged to be married, and a man meets her in the town and lies with her, 24 you shall bring both of them to the gate of that town and stone them to death, the young woman because she did not cry for help in the town and the man because he violated his neighbor’s wife. So you shall purge the evil from your midst.
25 But if the man meets the engaged woman in the open country, and the man seizes her and lies with her, then only the man who lay with her shall die. 26 You shall do nothing to the young woman; the young woman has not committed an offense punishable by death, because this case is like that of someone who attacks and murders a neighbor. 27 Since he found her in the open country, the engaged woman may have cried for help, but there was no one to rescue her.
28 If a man meets a virgin who is not engaged, and seizes her and lies with her, and they are caught in the act, 29 the man who lay with her shall give fifty shekels of silver to the young woman’s father, and she shall become his wife. Because he violated her he shall not be permitted to divorce her as long as he lives.