P31 – Ejecting the Ritually Impure from the Temple Area

The LORD spoke to Moses, saying: Instruct the Israelites to remove from camp anyone with aneruption or a discharge and anyone defiled by a corpse. Remove male and female alike; put them outside the camp so that they do not defile the camp of those in whose midst I dwell.

Numbers 5:1-3

If anyone among you has been rendered unclean by a nocturnal emission, he must leave the camp, and he must not reenter the camp.

Deuteronomy 23:11