Leviticus 21:14

A widow, or a divorced woman, or profane, or an harlot, these shall he not take: but he shall take a virgin of his own people to wife.

Cross-reference

Ezekiel 44:22 gives marriage rules for priests, similar to Leviticus 21:14 but allowing marriage to a widow of a priest — a related but distinct priestly regulation.