"He shall not become impure for the dead among his people"—Leviticus 21:1.
A kohen (priest) may not contract ritual impurity through contact with a human corpse. The exception to this rule are his next of kin [—his father, mother, brother, unmarried sister, son and daughter. The Sages added his wife to the list].
This prohibition only applies to male priests.