Sahih al-Bukhari 981
صحيح البخاري#981SahihNarrated 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
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 13:30