But if the man encounters the pledged young woman out in the country, and he seizes her and sleeps with her, only the man who did this is to die.
In context
23If a young woman who is a virgin is pledged to be married, and a man encounters her in the city and sleeps with her, 24bring them both to the gate of that city and stone them to death — the young woman because she did not cry out for help though she was in the city, and the man because he violated his neighbor’s fiancée. You must purge the evil from among you. 25But if the man encounters the pledged young woman out in the country, and he seizes her and sleeps with her, only the man who did this is to die. 26Do nothing to the young woman; she has committed no offense deserving death. This case is just like one in which a man attacks his neighbor and murders him, 27for he found her out in the country, and though the pledged young woman screamed, there was no one to rescue her.