Praise be to Allah.
Women should not be banned from bringing their children to the mosque in Ramadaan, The Sunnah indicates that women used to come to the mosque, bringing their children, at the time of the Prophet (peace and blessings of Allaah be upon him), because of the hadeeth “I start to pray, intending to make it long, then I hear the crying of a child so I make it short lest I cause hardship to his mother.” And the Prophet (peace and blessings of Allaah be upon him) carried Umaamah during an obligatory prayer when he was leading the people in prayer in the mosque.
But they have to try to protect the mosque from najaasah (impurities) and also pay attention to the children’s rights such as sleep and so on. End quote.
Shaykh Muhammad ibn Ibraaheem (may Allaah have mercy on him).
Fataawa al-Shaykh Muhammad ibn Ibraaheem (4/214).
See also the fatwa of Shaykh ‘Abd al-‘Azeez ibn Baaz (may Allaah have mercy on him) concerning that in the answer to question no. 11605.