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:4329Abū Bakr b. al-Ḥārith al-Faqīh > Abū Muḥammad b. Ḥayyān > Ibrāhīm b. Muḥammad b. al-Ḥasan > Aḥmad b. ʿAbd al-ʿAzīz > al-Walīd b. Muslim > Abū ʿAmr > ʿAṭāʾ

[Machine] I heard Ata' saying that menstruating women and those in a state of sexual impurity do not nullify a contract, nor a braid, and a menstruating woman does not pass through the mosque except out of necessity.  

البيهقي:٤٣٢٩أنبأ أَبُو بَكْرِ بْنُ الْحَارِثِ الْفَقِيهُ أنبأ أَبُو مُحَمَّدِ بْنُ حَيَّانَ ثنا إِبْرَاهِيمُ بْنُ مُحَمَّدِ بْنِ الْحَسَنِ ثنا أَحْمَدُ بْنُ عَبْدِ الْعَزِيزِ ثنا الْوَلِيدُ بْنُ مُسْلِمٍ ثنا أَبُو عَمْرٍو قَالَ

سَمِعْتُ عَطَاءً يَقُولُ الْحَائِضُ وَالْجُنُبُ لَا يَنْقُضَانِ عِقِاصًا وَلَا ضَفِيرَةً وَلَا تَمُرُّ حَائِضٌ فِي الْمَسْجِدِ إِلَّا مُضْطَرَّةً