"They shall not take a wife who is a zonah"Leviticus 21:7.

A priest may not marry a woman who in the past had sexual relations with a man whom she is forbidden to marry [e.g. a non-Jew or next of kin].