Bulugh al-Maram, Book 1, Hadith 149 (In-Book)

Narrated `A'ishah (RAA): Allah's messenger said: "It is not permitted for a menstruating woman or one who is junub (sexually impure) to stay in the mosque." Related by Abu Dawud and Ibn Khuzaimah graded it as Sahih

وَعَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا قَالَتْ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ إِنِّي لَا أُحِلُّ اَلْمَسْجِدَ لِحَائِضٍ وَلَا جُنُبٌ } رَوَاهُ أَبُو دَاوُدَ, وَصَحَّحَهُ اِبْنُ خُزَيْمَة َ (148)‏.‏ ‏2 ‏- ضعيف.‏ رواه أبو داود (232)‏، وابن خزيمة (1327)‏.‏

sunnah.com

also referenced under: Book 1, Hadith 132 (English)