Leviticus 21:20

Or crookbackt, or a dwarf, or that hath a blemish in his eye, or be scurvy, or scabbed, or hath his stones broken;

Cross-reference

Deuteronomy 23:1 similarly excludes those with crushed testicles from the assembly — a direct parallel to the priestly disqualification in Leviticus 21:20.