Deuteronomy 22:25

But if a man discovers, in the countryside, a girl who has been betrothed, and, apprehending her, he lies with her, then he alone shall die

Other versions

King James Version

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:

English Standard Version

"But if in the open country a man meets a young woman who is betrothed, and the man seizes her and lies with her, then only the man who lay with her shall die.

New International Version

But if out in the country a man happens to meet a girl pledged to be married and rapes her, only the man who has done this shall die.