Бамидбар 5:14 Галаха: Mishneh Torah, Woman Suspected

וְעָבַ֨ר עָלָ֧יו רֽוּחַ־קִנְאָ֛ה וְקִנֵּ֥א אֶת־אִשְׁתּ֖וֹ וְהִ֣וא נִטְמָ֑אָה אוֹ־עָבַ֨ר עָלָ֤יו רֽוּחַ־קִנְאָה֙ וְקִנֵּ֣א אֶת־אִשְׁתּ֔וֹ וְהִ֖יא לֹ֥א נִטְמָֽאָה׃

и дух ревности обрушился на него, и он предупредил свою жену, и она будет осквернена; или если дух ревности обрушится на него, и он предупредил свою жену, и она не будет осквернена;

Mishneh Torah, Woman Suspected of Infidelity

The warning that is mentioned in the Torah - "And he warned his wife" - is that he tells her in the presence of witnesses, "Do not seclude yourself with Mr. so-and-so," even if that man is her father, her brother, a gentile, a slave, or an impotent person who cannot achieve an erection or produce children."