Reference for Yevamot 215:17
הא קתני לקמן הממאנת באיש הוא מותר בקרובותיה והיא מותרת בקרוביו ולא פסלה מן הכהונה נתן לה גט הוא אסור בקרובותיה והיא אסורה בקרוביו ופסלה מן הכהונה פרושי קמפרש:
to be her heir,<span class="x" onmousemove="('comment',' Rabbinic law has conferred upon him the same rights as those of a lawful husband. Cf. supra n. 4. ');"><sup>37</sup></span> and to defile himself for her;<span class="x" onmousemove="('comment',' Even if he is a priest (cf. supra n. 6). She is regarded as a meth mizwah (v. Glos.), hence he may defile himself for her though Pentateuchally she is not his proper wife. ');"><sup>38</sup></span> the general principle being that she is regarded as his wife in every respect, except that she may leave him<span class="x" onmousemove="('comment',' If she wishes to marry another man. ');"><sup>36</sup></span>