(21) باب اعْتِزَالِ الْحُيَّضِ الْمُصَلَّى
Narrated Um-`Atiya:
We were ordered to go out (for `Id) and also to take along with us the menstruating women, mature girls and virgins staying in seclusion. (Ibn `Aun said, "Or mature virgins staying in seclusion)." The menstruating women could present themselves at the religious gathering and invocation of Muslims but should keep away from their Musalla.
Reference: Sahih al-Bukhari 981
In-book reference: Book 13, Hadith 30
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 15, Hadith 97