If it is not a part of the masjid then it is permissible. But if it is in a full fledge masjid that no one can sell or move, she must not enter that room.

Please can you advise if a sister is teaching children in a room and the room is used for prayer as it is an old prayer building having carpets with musallah..cam she teach there on that floor when she is menstruating?

Menstruation and post-natal bleeding |