Deuteronomy 22:13-30 New Revised Standard Version (NRSV)
Laws concerning Sexual Relations
13 Suppose a man marries a woman, but after going in to her, he dislikes her 14 and makes up charges against her, slandering her by saying, “I married this woman; but when I lay with her, I did not find evidence of her virginity.” 15 The father of the young woman and her mother shall then submit the evidence of the young woman’s virginity to the elders of the city at the gate. 16 The father of the young woman shall say to the elders: “I gave my daughter in marriage to this man but he dislikes her; 17 now he has made up charges against her, saying, ‘I did not find evidence of your daughter’s virginity.’ But here is the evidence of my daughter’s virginity.” Then they shall spread out the cloth before the elders of the town. 18 The elders of that town shall take the man and punish him; 19 they shall fine him one hundred shekels of silver (which they shall give to the young woman’s father) because he has slandered a virgin of Israel. She shall remain his wife; he shall not be permitted to divorce her as long as he lives.
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.