Deuteronomy 22:25-27

22:25 But if the man came across the engaged woman in the field and overpowered her and raped her, then only the rapist must die. 22:26 You must not do anything to the young woman – she has done nothing deserving of death. This case is the same as when someone attacks another person and murders him, 22:27 for the man met her in the field and the engaged woman cried out, but there was no one to rescue her.