3,987. A Tevul Yom and a Mechusar Kippurim
Hilchos Bias HaMikdash 3:5
The following people are sent out from the cheil (a boundary around the courtyard): non-Jews, those rendered ritually unclean with corpse impurity, and those who had relations with menstruant women. One who immersed that day (a tevul yom) may enter (even though night has not yet fallen) because he immersed.
Hilchos Bias HaMikdash 3:6
The following people are sent out from the women’s courtyard: one who immersed that day, but not one who still needs to bring their offerings (mechusar kippurim). This is because the day of his purification has already passed. The prohibition against one who has immersed entering the Levite camp is a Rabbinic enactment.
