Deuteronomy 23:1 "No one who is emasculated or has his male organ
http://bible.cc/deuteronomy/23-1.htm
"A man whose testicles are crushed or whose penis is cut off may never join the assembly of the LORD."