Deuteronomy 22:25-26

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,