Deuteronomy 22:13-21 New King James Version (NKJV)
Laws of Sexual Morality
13 “If any man takes a wife, and goes in to her, and detests her, 14 and charges her with shameful conduct, and brings a bad name on her, and says, ‘I took this woman, and when I came to her I found she was not a virgin,’ 15 then the father and mother of the young woman shall take and bring out the evidence of the young woman’s virginity to the elders of the city at the gate. 16 And the young woman’s father shall say to the elders, ‘I gave my daughter to this man as wife, and he detests her. 17 Now he has charged her with shameful conduct, saying, “I found your daughter was not a virgin,” and yet these are the evidences of my daughter’s virginity.’ And they shall spread the cloth before the elders of the city. 18 Then the elders of that city shall take that man and punish him; 19 and they shall fine him one hundred shekels of silver and give them to the father of the young woman, because he has brought a bad name on a virgin of Israel. And she shall be his wife; he cannot divorce her all his days.
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 [a]put away the evil from among you.