Deuteronomy 22:25

23 If a damsel that is a virgin be betrothed unto an husband, and a man find her in the city, and lie with her;

24 Then ye shall bring them both out unto the gate of that city, and ye shall stone them with stones that they die; the damsel, because she cried not, being in the city; and the man, because he hath humbled his neighbour’s wife: so thou shalt put away evil from among you.

But if a man find a betrothed damsel in the field, and the man force her, and lie with her: then the man only that lay with her shall die:

26 But unto the damsel thou shalt do nothing; there is in the damsel no sin worthy of death: for as when a man riseth against his neighbour, and slayeth him, even so is this matter:

27 For he found her in the field, and the betrothed damsel cried, and there was none to save her.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
But if the man encounters a betrothed woman in the open country, and he overpowers her and lies with her, only the man who has done this must die.
KJV
But if a man find a betrothed damsel in the field, and the man force her, and lie with her: then the man only that lay with her shall die:
WEB
But if the man finds the lady who is pledged to be married in the field, and the man forces her and lies with her, then only the man who lay with her shall die;
ASV
But if the man find the damsel that is betrothed in the field, and the man force her, and lie with her; then the man only that lay with her shall die:
DARBY
But if a man find a betrothed damsel in the field, and the man force her, and lie with her, then the man only that lay with her shall die;
BLB
But if in the countryside the man finds a young woman betrothed, and the man forces her and lies with her, only the man who lay with her shall die.
ÅB
Men dersom en mann treffer en pike lovet i ekteskap ute på marken, og han holder fast på henne og ligger hos henne, da skal bare mannen som lå hos henne, dø.
OTB
Men hvis en mann finner en trolovet jente på landsbygda og tvinger henne, skal bare mannen som har gjort dette dø.
B1930
Men dersom en mann treffer en trolovet pike ute på marken, og han holder fast på henne og ligger hos henne, da skal bare mannen som lå hos henne, dø.

Study notes (Tyndale)

Original text and word study

Cross references