ה הַמְקַדֵּשׁ בִּפְסוּלֵי עֵדוּת דְּאוֹרָיְתָא, אֵינָן קִדּוּשִׁין. אֲבָל בִּפְסוּלֵי עֵדוּת דְּרַבָּנָן, אוֹ בְּעֵדִים שֶׁהֵם סָפֵק פְּסוּלֵי תּוֹרָה, אִם רוֹצֶה לִכְנֹס חוֹזֵר וּמְקַדֵּשׁ בְּעֵדִים כְּשֵׁרִים. וְאִם לֹא רָצָה לִכְנֹס, צְרִיכָה גֵּט מִסָפֵק. וַאֲפִלּוּ כָּפְרָה הָאִשָּׁה וְאוֹמֶרֶת: לֹא קִדַּשְׁתַּנִי, כּוֹפִין אוֹתוֹ לִתֵּן גֵּט. וְכֵן דִּין כָּל קִדּוּשֵׁי סָפֵק, אִם רָצָה לִכְנֹס חוֹזֵר וּמְקַדֵּשׁ וַדַּאי, וְאִם לֹא רָצָה לִכְנֹס צְרִיכָה גֵּט מִמֶּנּוּ מִסָפֵק, וְאִם עָמַד אַחֵר וְקִדְּשָׁהּ, הֲרֵי זוֹ מְקֻדֶּשֶׁת לַשֵּׁנִי מִסָפֵק, וּצְרִיכָה גֵּט מִשְּׁנֵיהֶם, אוֹ מְגָרֵשׁ רִאשׁוֹן וְנוֹשֵׂא שֵׁנִי; אֲבָל לְגָרֵשׁ (שֵׁנִי) וְלִכְנֹס רִאשׁוֹן, לֹא. הַגָּה: הֶחָשׁוּד עַל הָעֲרָיוֹת, אַף עַל פִּי שֶׁאֵין עֵדִים שֶׁבָּא עַל הָעֶרְוָה, רַק שֶׁחָשׁוּד בְּעָלְמָא (תּוֹסָפוֹת וְהָרֹא"שׁ), פָּסוּל לְעֵדוּת אִשָּׁה, בֵּין לְעִנְיַן קִדּוּשִׁין בֵּין לְעִנְיַן גֵּרוּשִׁין (הָרַמְבַּ"ם). הַמְקַדֵּשׁ לִפְנֵי פְּסוּלֵי עֵדוּת דְּאוֹרָיְתָא מִכֹּחַ רִשְׁעָתָן, כְּגוֹן לִפְנֵי אֲנוּסִים אוֹ שְׁאָר רְשָׁעִים, יֵשׁ אוֹמְרִים חַיְשִׁינָן לְקִדּוּשִׁין, דִּלְמָא חָזְרוּ בִּתְשׁוּבָה (ר"י מִינְץ סִימָן י"א, וְכֵן כָּתַב בְּאָרְחוֹת חַיִּים בְּשֵׁם רַשִׁ"י). וְיֵשׁ מְקִלִּין (בֵּית יוֹסֵף וּמַהֲרַ"מ פַּדָּוואָה סִימָן ל"ז). מִיהוּ, אֵלּוּ הָאֲנוּסִים שֶׁהֻצְרְכוּ לְהָמִיר מִכֹּחַ יִרְאָה, וְאִי אֶפְשָׁר לָהֶם לִמָּלֵט עַל נַפְשָׁם, וּבְצִנְעָה מְקַיְּמִים הַמִּצְוֹת, הֵם כְּשֵׁרִים לְעֵדוּת (רִיבָ"שׁ סִימָן י"א). יֵשׁ אוֹמְרִים הָא דְּאָמְרִינָן הַמְקַדֵּשׁ בִּפְסוּלֵי עֵדוּת דְּרַבָּנָן חוֹשְׁשִׁין לְקִדּוּשִׁין, הַיְנוּ בְּקִדּוּשֵׁי דְּאוֹרָיְתָא, אֲבָל בְּקִדּוּשֵׁי דְּרַבָּנָן וְעֵדִים פְּסוּלִים מִדְּרַבָּנָן, אֵין חוֹשְׁשִׁין לְקִדּוּשִׁין כְּלָל (בֵּית יוֹסֵף בְּשֵׁם הָרשב"ץ בִּתְשׁוּבָה):
5 Someone who marries using witnesses who are invalid on a Torah level, there is no marriage. But witnesses who are invalid on a rabbinical level, or the witnesses are invalid according to the Torah on a doubtful level, if he wants to enter [into marriage] he should go back and marry with kosher witnesses. If she does not want to enter, he needs to give a divorce document for the doubt. Even if the woman denies and says, "I was not wedded," we force him to give a divorce document. So is the law with all marriages of dount, if she wants to enter he goes back and marries definitively, and if she does not want to enter she needs a divorce document from him because of doubt. And if another comes and marries her, she is now married to the second on a doubtful level, and she needs a divorce document from both of them, or the first one must divorce and she can marry the second. But to divorce the second and marry the first, no. Rema: Someone who is suspected of sexual impropriety (arayot), even if there is no witnesses of the sexual act, but it is just a suspicion (Tosafot and the Rosh), he is invalid for testimony for woman's issues, whether for marriage or divorce (Rambam). Someone who marries using witnesses who are invalid on a Torah level because of their wickedness, such as in front of rapists or other wicked people, some say the marriage is suspected to have taken effectm for perhaps they repented (R"Y Mintz Siman 11, and so in Orchot Chaim in the name of Rashi). And some are lenient (Bet Yosef, and Maharam Padawa Siman 37). However, those who are forced to convert through fear [of reprisal], and they cannot get out of it, but in hiding keep the commandments, they are kosher witnesses (Rivash Siman 11). Some say that that which we say that one who marries using those who are invalid witnesses on a rabbinical level are suspected to have effected the marriage, this is for a Torah-level marriage, but a rabbinical marriage, and the witnesses are invalid on a rabbincal level, the marriage is not suspected as haven taken effect at all (Bet Yosef in the name of the Harashbetz in a Responsa).