Deuteronomy 21:10-14

NHEB(i) 10 When you go forth to battle against your enemies, and the LORD your God delivers them into your hands, and you carry them away captive, 11 and see among the captives a beautiful woman, and you desire to take her to be your wife; 12 then you shall bring her home to your house; and she shall shave her head, and trim her nails; 13 and she shall remove the clothing she was wearing when captured, and shall remain in your house, and mourn her father and her mother a full month. And after that you may go in to her and be her husband, and she shall be your wife. 14 It shall be, if you are not pleased with her, then you must let her go where she wants; but you may not sell her for money or treat her as a commodity, since you have had relations with her.