Umm Salama bint Abu Umaya reported,

The Messenger of Allah ﷺ entered the courtyard of this mosque and called out at the top of his voice, "The mosque is not permitted for anyone in a state of major impurity, nor for a menstruating woman."

Ibn Majah 645

Daif

حدثنا أبو بكر بن أبي شيبة ومحمد بن يحيى قالا حدثنا أبو نعيم حدثنا ابن أبي غنية عن أبي الخطاب الهجري عن محدوج الذهلي عن جسرة قالت أخبرتني

أم سلمة قالت

دخل رسول الله ﷺ صرحة هذا المسجد فنادى بأعلى صوته إن المسجد لا يحل لجنب ولا لحائض

ابن ماجه 645ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Menstruating women avoiding the masjid
Numbering
Darussalam 645
Ibn Majah 645