Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:6242Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū ʿAbdullāh Muḥammad b. Yaʿqūb Imlāʾ > Ismāʿīl b. Qutaybah And Muḥammad b. Ḥajjāj al-Warrāq > Yaḥyá b. Yaḥyá > Abū Khaythamah > ʿĀṣim al-Aḥwal > Ḥafṣah b. Sīrīn > Um ʿAṭiyyah

[Machine] The prophet ﷺ commanded us to go out on the two Eids, wearing our best clothes and bringing our concealed items and virgin animals. A menstruating woman said: "We will go out and stand behind the people and engage in Takbeer (saying Allahu Akbar) with them."  

البيهقي:٦٢٤٢أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ إِمْلَاءً ثنا إِسْمَاعِيلُ بْنُ قُتَيْبَةَ وَمُحَمَّدُ بْنُ حَجَّاجٍ الْوَرَّاقُ قَالَا ثنا يَحْيَى بْنُ يَحْيَى أنبأ أَبُو خَيْثَمَةَ عَنْ عَاصِمٍ الْأَحْوَلِ عَنْ حَفْصَةَ بِنْتِ سِيرِينَ عَنْ أُمِّ عَطِيَّةَ قَالَتْ

أَمَرَنَا يَعْنِي النَّبِيَّ ﷺ أَنْ نُخْرِجَ فِي الْعِيدَيْنِ الْعَوَاتِقَ وَالْمُخَبَّأَةَ وَالْبِكْرَ قَالَتْ الْحُيَّضُ يَخْرُجْنَ فَيَكُنَّ خَلْفَ النَّاسِ يُكَبِّرْنَ مَعَ النَّاسِ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ يَحْيَى بْنِ يَحْيَى وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ وَجْهٍ آخَرَ عَنْ عَاصِمٍ

See similar narrations below:

Collected by Muslim
muslim:890bYaḥyá b. Yaḥyá > Abū Khaythamah > ʿĀṣim al-Aḥwal > Ḥafṣah b. Sīrīn > Um ʿAṭiyyah

We were commanded to go out as well as the hidden away ladies and those unmarried. She said menstruating women were to come out amongst you, but remain behind people and pronounce takbir (Allah-o-Akbar) along with them.  

مسلم:٨٩٠bحَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا أَبُو خَيْثَمَةَ عَنْ عَاصِمٍ الأَحْوَلِ عَنْ حَفْصَةَ بِنْتِ سِيرِينَ عَنْ أُمِّ عَطِيَّةَ قَالَتْ

كُنَّا نُؤْمَرُ بِالْخُرُوجِ فِي الْعِيدَيْنِ وَالْمُخَبَّأَةُ وَالْبِكْرُ قَالَتِ الْحُيَّضُ يَخْرُجْنَ فَيَكُنَّ خَلْفَ النَّاسِ يُكَبِّرْنَ مَعَ النَّاسِ