It is the consensus of Islamic scholars that women should be encouraged to pray at home rather than in a mosque. This is based on what Muhammad told women: URL  It was narrated from Umm Humayd, the wife of Abu Humayd al-Saa’idi (may Allaah be pleased with her), that she came to the Prophet (peace and blessings of Allaah be upon him) and said: O Messenger of Allaah, I love to pray with you. He said: "I know that you love to pray with me, but praying in your house is better for you than praying in your courtyard, and praying in your courtyardis better for you than praying in the mosque of your people, and praying in the mosque of your people is better for you than praying in my mosque." So she ordered that a prayer-place be built forher in the furthest and darkest part of her house, and she always prayed thereuntil she met Allaah (i.e., until she died)  
Some schools of thought say that women should be encouraged to pray at home rather than in a mosque. However, other schools prefer to look at the context of the sayings, which they suggest were given at a time when women were in danger when leaving their homes, and consider mosques as welcome for women as their homes. Muhammad did not forbid women from entering his mosque in Medina. In fact, he told Muslims "not to prevent their women from going to mosque when they ask for permission". However it is encouraged to pray at home for women: It was narrated from Umm Humayd, the wife of Abu Humayd al-Saa’idi (may Allaah be pleased with her), that she came to the Prophet (peace and blessings of Allaah be upon him) and said: O Messenger of Allaah, I love to pray with you. He said: "I know that you love to pray with me, but praying in your house is better for you than praying in your courtyard, and praying in your courtyardis better for you than praying in the mosque of your people, and praying in the mosque of your people is better for you than praying in my mosque." So she ordered that a prayer-place be built forher in the furthest and darkest part of her house, and she always prayed there until she met Allaah (i.e., until she died) URL Prophet Muhammad specifically admonished the men not to keep their wives from going to the mosques:
R
It is the consensus of Islamic scholars
Some schools of thought say
R
This is based on what Muhammad told women: URL
However, other schools prefer to look at the context of the sayings, which they suggest were given at a time when women were in danger when leaving their homes, and consider mosques as welcome for women as their homes. Muhammad did not forbid women from entering his mosque in Medina. In fact, he told Muslims "not to prevent their women from going to mosque when they ask for permission".
A
However it is encouraged to pray at home for women:
R
thereuntil
there until
A
URL
A
Prophet Muhammad specifically admonished the men not to keep their wives from going to the mosques: