:salam2:
Women are allowed to go to the Mosque. They are also allowed to be in the same prayer room as the men, as long as they wear the correct Islamic dress. i.e. the Hijab.
At the time of the Prophet Muhammad
women would pray at the back of the Main Masjid (mosque) hall.
Islam is one, we should all attempt follow what Allah commanded us with his perfect words in the Quran and also what his final Messenger, the Prophet Muhammad
has given us in the way of the Sunnah (Sunnah being all the Prophet's sayings, actions and things that he approved -- all recorded via the authentic Hadith).
-- If we look into what Islam teaches we see that the Prophet Muhammad
commanded that women NOT be stopped from going to the Masajid.
"Do not prevent your women from going to the mosque, even though their houses are better for them." (Reported by Abu Dawud).
The Women have as much reward praying at home than in the Mosque.
The following is from IslamQA website:
Whenever a woman prays in a place that is more private and more hidden, that is better for her, as the Prophet
(Peace & Blessings of Allaah be upon Him) said: "A woman’s prayer in her house is better than her prayer in her courtyard, and her prayer in her bedroom is better than her prayer in her house." (Reported by Abu Dawud in al-Sunan, Baab maa jaa’a fee khurooj al-nisaa’ ilaa’l-masjid. See also Saheeh al-Jaami‘, no. 3833).
Umm Humayd, the wife of Abu Humayd al-Saa‘idi reported that she came to the Prophet
(Peace & 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 courtyard is 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 for her in the furthest and darkest part of her house, and she always prayed there until she met Allaah (i.e., until she died). (Reported by Imaam Ahmad; the men of its isnaad are thiqaat (trustworthy))
But the fact that praying at home is preferable does not mean that that women are not permitted to go to the mosque, as is clear from the following hadeeth:
‘Abdullah ibn ‘Umar, who said: "I heard the Messenger of Allaah SAWS (peace be upon him) say: ‘Do not prevent your women from going to the mosque if they ask your permission.’" Bilaal ibn ‘Abdullah said, "By Allaah, we will prevent them." (Ibn ‘Umar) turned to him and told him off in an unprecedented fashion, saying: "I tell you what the Messenger of Allaah
(Peace & Blessings of Allaah be upon Him) said, and you say ‘By Allaah, we will prevent them’!!" (reported by Muslim, 667).
----
Back to what you saw in the Mosques. Some Muslims unfortunately have incorrect ideas, and they believe women dont have a place in the Masjid and so dont make the right provisions for them. As we can see from evidence above, it is completely allowed for women to go to the Masajid.
I have seen some Mosques that have very good place for women to pray, I went to Masjid Umari, it is the oldest Mosque in Lebanon. Infact, it was built using Roman pillars and bricks and is very beautiful. It used to be a Roman Church and dates back over 2000 years. It was built into a Mosque, at the time of the Calipha Umar (radhiyallahu anhu). It has one entrance, which both men and women enter, and the women pray in the main hall at the back.. and this is the design that was made at the time of the Sahaba (companions of the Prophet Muhammad
). --There are no problems.
Also, you must keep in mind that many women probably have a lot to do at home too, (not that men should not be helping at home with the housework and kids!! -- It is definitely important in Islam that they do help their wives -- but that is another topic ). So, therefore less women might go to the Mosque than men. You will probably see more women in the Mosque during Friday Juma prayer, in Ramadan or on the Two Muslim Eid festivals.