Deuteronomy 23:10

If there is a man among you who has been defiled by a dream in the night, he shall depart from the camp

Other versions

King James Version

If there be among you any man, that is not clean by reason of uncleanness that chanceth him by night, then shall he go abroad out of the camp, he shall not come within the camp:

English Standard Version

"If any man among you becomes unclean because of a nocturnal emission, then he shall go outside the camp. He shall not come inside the camp,

New International Version

If one of your men is unclean because of a nocturnal emission, he is to go outside the camp and stay there.