Deuteronomy 21:13

21:13 discard the clothing she was wearing when captured, and stay in your house, lamenting for her father and mother for a full month. After that you may have sexual relations with her and become her husband and she your wife.

Deuteronomy 22:14

22:14 accusing her of impropriety and defaming her reputation by saying, “I married this woman but when I had sexual relations with her I discovered she was not a virgin!”