الحمد لله رب العالمين والصلاة والسلام على النبى الكريم وعلى آله وأصحابه أجمعين ومن تبعهم بإحسان إلى يوم الدين
Allah the Exalted says:
فِي بُيُوتٍ أَذِنَ اللَّهُ أَن تُرْفَعَ وَيُذْكَرَ فِيهَا اسْمُهُ يُسَبِّحُ لَهُ فِيهَا بِالْغُدُوِّ وَالْآصَالِ ﴿٣٦﴾رِجَالٌ لَّا تُلْهِيهِمْ تِجَارَةٌ وَلَا بَيْعٌ عَن ذِكْرِ اللَّهِ وَإِقَامِ الصَّلَاةِ وَإِيتَاءِ الزَّكَاةِ
In the houses (mosques) which Allah has commanded to be honored and respected, and in which His name is to be mentioned, they glorify Allah morning and evening. They are men whom neither trade nor buying and selling distracts from the remembrance of Allah, from establishing the prayer, and from paying the zakah.
وَمَنْ أَظْلَمُ مِمَّن مَّنَعَ مَسَاجِدَ اللَّهِ أَن يُذْكَرَ فِيهَا اسْمُهُ
And who is more unjust than the one who prevents the mention of Allah’s name in the mosques of Allah?
The Messenger of Allah ﷺ said:
أحب البلاد إلى الله تعالى مساجدها وأبغض البلاد إلى الله أسواقها
“The most beloved of places in the cities to Allah the Exalted are its mosques, and the most hated of places to Allah are its markets.”
Mosques are beloved to Allah the Exalted because He is worshipped and remembered there. That is, the very purpose of building mosques is to remember Allah in them and to establish the prayer. The one who comes to the mosque is a guest of Allah the Exalted. Allah continues to prepare his hospitality and entertainment in Paradise. Allah the Exalted declared the one who prevents anyone from coming to the mosque to be unjust. Deriving from this, women too cannot be prevented from going to the mosque. In contrast, in the market, while conducting business, one sees lying, fraud, deception, the mixing of men and women, and at times such vulgar talk, which Allah the Exalted strongly dislikes. Therefore the Messenger of Allah ﷺ declared the market to be a hated place.
There are two purposes for women coming to the mosques:
1. To take part in the congregational prayer.
2. To come to the mosque and declare the glorification (tasbih), the declaration of Allah’s oneness (tahlil), and the praise and extolling of Allah the Exalted.