3,882. The Kedusha of the Temple Mount

Hilchos Beis HaBechirah 7:15

The Temple Mount is holier than Jerusalem, with the result that a zav,* a zavah,* a menstruating woman and a woman who has recently given birth may not go there. However, a corpse may be brought onto the Temple Mount, and the same is certainly true of one who has contracted corpse uncleanliness.

Hilchos Beis HaBechirah 7:16

The cheil is holier than the Temple Mount. Non-Jews and those who are ritually unclean with corpse impurity or from engaging in intimacy with a menstruant woman may not enter there.

*A zav and a zavah are (respectively) a man and a woman who have experienced particular genital discharges that are sources of ritual impurity.