Deuteronomy 22:23-25

LITV(i) 23 If there is a girl that is a virgin, betrothed to a man, 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 with stones so that they die, the girl because she did not cry out, being in the city; and the man, because he has humbled his neighbor's wife. And you shall put away the evil from among you. 25 But if a man finds a betrothed girl in the field, and the man seizes her and lies with her; then only the man that lay with her shall die.