Then when he says, To the rest I say, he treats of the inseparability of marriage between persons of disparate cult, when one is a believer. First, he says that the believer should not dismiss an unbelieving spouse, who is willing to continue living together without abusing the Creator. Secondly, that if the unbeliever does not wish to live together, the believer is not bound to follow, but can marry another (v. 15). Thirdly, that unless the unbeliever leaves first, the believer should patiently remain together (v. 16). In regard to the first, he gives an admonition; secondly, the reason for t...he admonition (v. 14). In regard to the first he speaks in general to men and women; secondly, in particular to the men (v. 12b); thirdly, in particular to the women (v. 13).
He says therefore, To the rest, i.e., where not both are believers, but one is a believer and the other an unbeliever, I say, by way of counsel and not of command, not the Lord. As if to say: I say this from the Lord, although he does not say it with his own lips. This is what I say: If any brother, a believer, is converted to the faith while married. For this is understood of those who married as unbelievers, not of those who are in disparity of cult; for then there was no marriage, and they would have to be separated as Ezra did in Ezra 9-10. If a brother, I say, has a wife who is an unbeliever, and she consents to live with him without insulting the Creator, he should not divorce her. It is a counsel not a precept, so that if one does the contrary, he is not a transgressor, according to a Gloss.
Source: Commentary on 1 Corinthians