2,218. A Woman's Testimony About Herself
Hilchos Issurei Biah 18:21
If a woman says that she was taken captive but she remains undefiled, her word is accepted because she both created the prohibition (by mentioning that she had been taken captive) and resolved it. This is true even if there’s one witness who testifies that she had been captured but if there are two such witnesses, then her word is not accepted unless one other person testifies that she was not molested. If two witnesses testified that she was captured, one of whom testifies that she was molested and the other of whom testifies that no non-Jewish captor was ever alone with her until she was ransomed, she remains permitted to marry a kohein. This is true even if the one testifying that she was unmolested is a woman or a servant woman.
Hilchos Issurei Biah 18:22
If a woman says that she was taken captive but she remains undefiled, causing the courts to permit her to marry a kohein, she may marry one even lechatchila/ab initio. If two witnesses later come and testify that she was taken captive, her permission is not rescinded. Her permission is not even rescinded if her captor later arrives and we see that she behaves like a captive under his control. Rather, watchmen are assigned to guard her until she is ransomed from him.