In a recent jummah bayaan the Imam of a mosque asked why do mosjids not cater for women. And it is wrong to stop women from going to the masjids if they cater for females. Please quote ahadith to substantiate your answer Jazakallah Khair.
During the time of Nabi (Sallallaahu Alayhi Wasallam), women used to attend
the Musjid. Despite this, Nabi (Sallallaahu Alayhi Wasallam) still
encouraged women to perform their Salaat in the privacy of their homes.
However, he did not prevent them from attending the Musjid. This was so
because people of those days were strong in faith and staunch followers of
Deen. There was no immodesty and shamelessness among the women in the time
of Nabi (Sallallaahu Alayhi Wasallam). they knew and understood the
commandments of Allah Ta’ala and were very particular in fulfilling the
obligations of the Shari’ah. Despite all this, Nabi (Sallallaahu Alayhi
Wasallam) is reported to have said that the best place for a woman to
perform her Salat is in the seclusion of her home. (Musnad Ahmad vol.6
pg.297)
However, we find that later on, during the time of the Sahaaba (Radhiallaahu
Anhum), women were directly prevented from attending the Musjid due to
various reasons. This was in no way a conflicting view to that of Rasulullah
(Sallallaahu Alayhi Wasallam) for the simple reason that those factors, on
the basis of which the Sahaba (Radhiallaahu Anhum) laid down this directive
were such factors which were not prevalent in the time of Nabi (Sallallaahu
Alayhi Wasallam). In short, the factors were the fear of evil and
corruption. It was for this very same reason that Hadhrat Aaisha
(Radhiallaahu Anha) was reported to have said that if the Prophet
(Sallallaahu Alayhi Wasallam) were to witness the conditions around which
women attend the Musjid in our times, he would have certainly prohibited it.
(Bukhari vol.1 pg.120)
When this is what Hadhrat Aaisha (Radhiallaahu Anha) says with regards to
women attending the Musjid in her time where evil and corruption were far
lesser than in our times, what will it be like today? It is for this reason
that the Ulama strictly prohibit women from attending the Musjid.
and Allah Ta’ala Knows Best
Mufti Ebrahim Desai