Deuteronomy 22:23-27 New King James Version (NKJV)
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.
25 “But if a man finds a betrothed young woman in the countryside, and the man forces her and lies with her, then only the man who lay with her shall die. 26 But you shall do nothing to the young woman; there is in the young woman no sin deserving of death, for just as when a man rises against his neighbor and kills him, even so is this matter. 27 For he found her in the countryside, and the betrothed young woman cried out, but there was no one to save her.