Masjid Partition: Its Place in the Shari`ah

by Dr. Mateen Khan (Trenton, New Jersey)

Indeed, one of the sad losses in the modern Muslim community is a loss of `ubudiyyah (servanthood to Allah) as the approach to and goal of Muslim life. Our approach should reflect Islamicizing modern life rather than modernizing Islamic life. During the Prophetic era, the masjid served as the focal point of Islamic life for the community. Men and women frequented the Prophet’s ﷺ masjid. This article aims to place the masjid partition between men and women in its proper context.

The Prophetic Era

When we examine the hadith in an inclusive way, we can more fully appreciate how the simple, one-room masjid of Madinah operated. In general, the Prophet ﷺ established gender separation within the Muslim community and specifically, in the masjid.

For any particular salah, we would see the male Companions enter the masjid and occupy the front rows. The female Companions would enter with due modesty (explanation below) and occupy the back rows.

عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏”‏خَيْرُ صُفُوفِ الرِّجَالِ أَوَّلُهَا وَشَرُّهَا آخِرُهَا وَخَيْرُ صُفُوفِ النِّسَاءِ آخِرُهَا وَشَرُّهَا أَوَّلُهَا”.‏ صحيح المسلم440

Abu Hurayrah said that the Prophet ﷺ said, “The best of the men’s rows is the first and the worst is the last, and the best of the women’s rows is the last and the worst in the first.” Sahih al-Muslim 440

In fact, the Prophet ﷺ wished for women to have a separate entrance from the men entirely.

عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم‏ “‏لَوْ تَرَكْنَا هَذَا الْبَابَ لِلنِّسَاءِ‏”‏‏.‏ قَالَ نَافِعٌ “فَلَمْ يَدْخُلْ مِنْهُ ابْنُ عُمَرَ حَتَّى مَاتَ”‏.‏‏ سنن أبي داود 462, باب فِي اعْتِزَالِ النِّسَاءِ فِي الْمَسَاجِدِ عَنِ الرِّجَالِ

Sayyiduna Ibn `Umar said, “The Messenger of Allah ﷺ said, ‘I wish that we would leave this entrance for the women.’” Nafi` (the narrator of this hadith from Sayyiduna Ibn `Umar) said, “Ibn `Umar did not enter through this entrance until his death.” Sunan Abu Dawud 462, Chapter on separating the women from the men in the masjid

Once the men and women were in their respective rows, the Prophet ﷺ would enter the masjid to begin the salah. Afterwards, he ﷺ would turn towards the male Companions behind him. The men would remain stationary while the women exited. Only after their exit did the Prophet ﷺ get up and leave. The men only left after the Prophet ﷺ rose from his place.

أَنَّ أُمَّ سَلَمَةَ ـ رضى الله عنها ـ قَالَتْ: كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا سَلَّمَ قَامَ النِّسَاءُ حِينَ يَقْضِي تَسْلِيمَهُ، وَمَكَثَ يَسِيرًا قَبْلَ أَنْ يَقُومَ‏.‏ قَالَ ابْنُ شِهَابٍ فَأُرَى ـ وَاللَّهُ أَعْلَمُ ـ أَنَّ مُكْثَهُ لِكَىْ يَنْفُذَ النِّسَاءُ قَبْلَ أَنْ يُدْرِكَهُنَّ مَنِ انْصَرَفَ مِنَ الْقَوْمِ‏.‏ صحيح البخاري 837

Sayyidatuna Umm Salamah said, “When the Messenger of Allah ﷺ would say salam (finishing the salah), the women would stand immediately. He would wait a moment before he would stand.” Ibn Shihab (one of the narrators) said, “Allah knows best, his waiting was so that the women could exit before any of the exiting men could run into them.” Sahih al-Bukhari 837

One immediately notices that gender separation was not enforced by a partition in the Prophet’s ﷺ masjid. One also pictures a scene in which individuals enter in a serene manner, eyes lowered before their Lord in which the men and women enter separately, sit separately and leave separately. Women did not linger engaged in other worship. Even after leaving the masjid, the Prophet ﷺ instructed gender separation in the streets. In fact, the women dressed in a way that made them unrecognizable.

عن حمزة بن أبي أسيد الأنصاري، عن أبيه أَنَّهُ سَمِعَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ – وَهُوَ خَارِجٌ مِنْ الْمَسْجِدِ فَاخْتَلَطَ الرِّجَالُ مَعَ النِّسَاءِ فِي الطَّرِيقِ – فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لِلنِّسَاءِ: اسْتَأْخِرْنَ ، فَإِنَّهُ لَيْسَ لَكُنَّ أَنْ تَحْقُقْنَ الطَّرِيقَ ، عَلَيْكُنَّ بِحَافَّاتِ الطَّرِيقِ . فَكَانَتْ الْمَرْأَةُ تَلْتَصِقُ بِالْجِدَارِ حَتَّى إِنَّ ثَوْبَهَا لَيَتَعَلَّقُ بِالْجِدَارِ مِنْ لُصُوقِهَا بِهِ . أبو داود 5272

Abu Usayd al-Ansari narrated that while the Messenger of Allah ﷺ was leaving the masjid and the men and women were mixing in the street, he said to the women, “Move back. You should not walk in the middle of the street. Keep to the sides of the street.” So the women used to stay so close to the wall that their clothes would touch it. Sunan Abu Dawud 5272.

أَنَّ عَائِشَةَ قَالَتْ: لَقَدْ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُصَلِّي الْفَجْرَ، فَيَشْهَدُ مَعَهُ نِسَاءٌ مِنَ الْمُؤْمِنَاتِ مُتَلَفِّعَاتٍ فِي مُرُوطِهِنَّ ثُمَّ يَرْجِعْنَ إِلَى بُيُوتِهِنَّ مَا يَعْرِفُهُنَّ أَحَدٌ‏.‏ صحيح البخاري 372, باب فِي كَمْ تُصَلِّي الْمَرْأَةُ فِي الثِّيَابِ

Sayyidatuna `A’ishah said, “The Messenger of Allah ﷺ used to pray Fajr and some believing women, covered with their veiling sheets, used to attend the Fajr prayer. Then, they would return to their homes unrecognized. Sahih al-Bukhari 372, Chapter on “in how many clothes a woman should offer prayer.”

As mentioned above, “due modesty,” in the context of the Shari`ah, includes covering the `awrah1  completely with a head covering (khimar) and a loose outer garment (jilbab)2  making the contours of the body indiscernible and any amount of visible make-up, thinning of the eyebrows and perfume are prohibited.

وَلْيَضْرِبْنَ بِخُمُرِهِنَّ عَلَىٰ جُيُوبِهِنَّ ۖ وَلَا يُبْدِينَ زِينَتَهُنَّ إِلَّا لِبُعُولَتِهِنَّ

(The believing women) should wrap their headcovers (khimar) over their chests and not expose their adornment except to their husbands…” Surah al-Nur 31

يَا أَيُّهَا النَّبِيُّ قُل لِّأَزْوَاجِكَ وَبَنَاتِكَ وَنِسَاءِ الْمُؤْمِنِينَ يُدْنِينَ عَلَيْهِنَّ مِن جَلَابِيبِهِنَّ ۚ ذَٰلِكَ أَدْنَىٰ أَن يُعْرَفْنَ فَلَا يُؤْذَيْنَ ۗوَكَانَ اللَّـهُ غَفُورًا رَّحِيمًا

O Prophet, tell your wives and daughters and the women of the believers to bring down over themselves part of their outer garments (jilbab). Surah al-Ahzab 59

عَنْ عَبْدِ اللَّهِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم لَعَنَ… وَالْمُتَنَمِّصَاتِ مُبْتَغِيَاتٍ لِلْحُسْنِ مُغَيِّرَاتٍ خَلْقَ اللَّهِ‏.‏ سنن الترمذي

Sayyiduna `Abdullah narrated that the Prophet ﷺ cursed the women who… remove hair from their faces seeking beautification by changing the creation of Allah. Sunan al-Tirmidhi

عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ “‏لاَ تَمْنَعُوا إِمَاءَ اللَّهِ مَسَاجِدَ اللَّهِ وَلَكِنْ لِيَخْرُجْنَ وَهُنَّ تَفِلاَتٌ‏”‏ ‏سنن أبي داود 565

Sayyiduna Abu Hurayrah narrated that the Messenger of Allah ﷺ said, “Do not prevent the female servants of Allah from the masjids of Allah. They should leave their homes without perfume.” Sunan Abu Dawud 565

The Post-Prophetic Era

Very soon after the passing of the Prophet ﷺ and his close Companion Abu Bakr, attitudes and practices began to drift. Men and women neglected the divine command to lower their eyes, cover themselves properly, and their interactions increased to such an extent that it concerned the muftiyyah, confidant and wife of the Prophetﷺ, `A’ishah. She did not issue a ruling. Rather, she elucidated the intent of the Shari`ah in an attempt to correct the mistakes she saw.

عَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: “لَوْ أَدْرَكَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا أَحْدَثَ النِّسَاءُ لَمَنَعَهُنَّ كَمَا مُنِعَتْ نِسَاءُ بَنِي إِسْرَائِيلَ”. صحيح البخاري 569

Sayyidatuna `A’ishah said, “Had the Messenger of Allah ﷺ witnessed what has befallen the women, he would have prevented them (from the masjid) as the women of Bani Isra’il were prevented.” Sahih al-Bukhari 569

In subsequent times, the situation became far worse. Undeniably, today men and women do not lower their eyes, no longer have the modesty and etiquette of their counterparts among the Companions, and mixing is no longer avoided. Muslim women do not dress properly—the jilbab and khimar are almost entirely abandoned, visible make-up and eyebrow thinning are widespread—nor do they avoid perfume. Changed attitudes and behaviors forced Islamic scholars (ulama) to resort to a barrier to enforce the sanctity of the masjid and the objectives of the Shari`ah.

“It is obligatory that a barrier, which prevents sight, be placed between the men and women. For indeed, [the masjid], too, is a place where corruption is expected.”3  Imam al-Ghazali, Ihya Ulum al-Din.

Why a Partition?

Among the objectives of the Sunnah are upholding modesty, discouraging unnecessary gender mixing, and creating an environment conducive to engaging with one’s Lord. A proper partition is conducive to fulfilling these objectives and brings other benefits as well:

  1. Women do not have to mind their gazes or avoid the gazes of men.
  2. Anyone who works or studies in a mixed environment is aware that segregation of genders allows greater focus.
  3. Breast-feeding, changing clothing, and other preparations for prayer are easier.
  4. Women may focus on their worship without diverting their attention towards maintaining proper hijab.
  5. Women can remain in the masjid engaged in dhikr, recitation of Qur’an and learning.

With a partition, exposing the `awrah or its contours and wearing make-up is permissible in the masjid. However, removing the partition makes all of these forbidden (haram) and sinful effectively inviting the displeasure of Allah in His own House.

In addition, the Prophet ﷺ did establish gender separation as an integral part of the masjid. During his time, the masjid was a gathering place for men, which allowed women during the salah or special gatherings. Narrations about men sitting in the Prophet’s ﷺ masjid at times other than the salah are too numerous to count. They engaged in dhikr, recitation of Qur’an and learning. Narrations about the people of Suffah, a group of dedicated men that lived in a section adjacent to the masjid, are also many. Yet, we do not find any mention of women doing the same.

Some will point to areas of employment, schooling, and shopping as areas of mixed gender interaction in our times. Why is it that we are quiet about gender separation in those areas but seemingly hypocritical in the masjid? Unlike the other areas, we are responsible for the masjid’s environment, and we will be asked about it on the Day of Judgment. The fact is that the masjid is not like the areas of shopping. It is a place of sanctity and a model of ideal Islamic life even in non-Muslim lands.

(671 عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ: ‏”‏أَحَبُّ الْبِلاَدِ إِلَى اللَّهِ مَسَاجِدُهَا وَأَبْغَضُ الْبِلاَدِ إِلَى اللَّهِ أَسْوَاقُهَا‏”‏ (صحيح المسلم

Sayyiduna Abu Hurayrah narrated that the Messenger of Allah ﷺ said, “The most beloved piece of land to Allah is its masjids and the most hated piece of land is its areas of shopping.” Sahih al-Muslim 671

In summary, no claim is made that the partition is itself an objective of the Shari`ah. Rather, it is a means to fulfilling the objectives of the Shari`ah: modesty, gender separation, concentration in worship, sanctity of the masjid and avoiding the displeasure of Allah. If our men and women adopt the etiquette of the Prophetic era, in which these objectives are attained without a partition, then there is no reason to have a physical barrier. Otherwise, if we insist on removal of the partition because it didn’t exist in the Prophetic era, then logically we should insist on a separate entrance for women, their immediate exit before all of the men, their wearing the proper dress of the female Companions, and many other things.

Women should be welcomed in the masjids, consulted in affairs affecting them, and given optimal prayer areas. The community should take steps to ensure functional speaker and/or projection systems, and if necessary, dedicated time with the imam or scholar for further learning or questioning. Communities should invest in female scholars to educate and guide our women. This can be accomplished with a partition while maintaining the sanctity of the masjid and the spirit of the Sunnah. This is the balanced approach and the one most in-line with the Shari`ah.

For the greater part of the existence of this deen, scholars such as Imam al-Ghazali called for a barrier between men and women. Were he and other scholars mistaken in this approach only to be corrected by a few modern day scholars? Did they so easily deviate from the dictates of their Lord and the example of their Prophet ﷺ due to their patriarchal inclinations? May Allah protect us from such ridiculous thoughts about our scholars and instead, permit us to ponder on whether we are mistaken.


The `awrah of a Muslim woman in front of a non-mahram man is her entire body except for her face and hands.
“In the Arabic language, the jilbab, which the Messenger of Allah ﷺ spoke to us about, covers the entire body not just part of it.” Al-Muhalla li Ibn Hazm 2:378.
(3 إحياء علوم الدين (2/ 337
ويجب أن يضرب بين الرجال والنساء حائل يمنع من النظر فإن ذلك أيضاً مظنة الفساد والعادات تشهد لهذه
المنكرات ويجب منع النساء من حضور المساجد للصلوات ومجالس الذكر إذا خيفت الفتنة بهن فقد منعتهن
عائشة رضي الله عنها فقيل لها أن رسول الله صلى الله عليه وسلم ما منعهن من الجماعات فقالت لو علم
رسول الله صلى الله عليه وسلم ما أحدثن بعده لمنعهن وأما اجتياز المرأة في المسجد مستترة فلا تمنع منه إلا
أن الأولى أن لا تتخذ المسجد مجازاً أصلاً

11 thoughts on “Masjid Partition: Its Place in the Shari`ah

  1. Masha allah, on point. Luckily in lands where the majority are Muslim, this isn’t even an issue of debate or one that requires reconciliation by the board. Men and women have completely seperate areas and that is an accepted norm, to even suggest otherwise would be embarrassing for both genders.

  2. Masha Allah very good article. In non muslim countries I think partition is the best option since women don’t dress up according the Islamic code.
    CAIR is trying to educate the women and working with the masajid to remove the partition but they supposed to teach the women first to dress up according to the Islamic code and do not put makeup or perfume whenever they want to go to masajid.

  3. Masha Allah very good article. In non muslim countries I think partition is the best option since women don’t dress up according to Islamic code.

  4. Fair article. JazakAllah. Partitions are important. Just a number of questions, early on you state that ‘for any particular salah, we would see the male Companions enter the masjid first and occupy the front row.’ How did you establish that the men entered first? Secondly, you mentioned that ‘even after leaving the masjid, the Prophet ﷺ instructed gender separation in the streets,’ couldn’t one argue that this was specifically for those leaving the masjid? Put another way, does this establish a normative practice? Finally, just because something is not mentioned does not necessarily mean that it did not happen. So just because we don’t have anything on women being in the masjid (like the people of the suffa) they may have been elsewhere in the masjid.

    Thanks for the article. I haven’t really looked into the commentaries of the narrations you have cited.

  5. As salaamu alaykum wa rahmatullah. Shaykh, I have been a fan of your blog. May Allah increase your knowledge and reward you. Your first point is valid and what was written is not what was meant. I corrected it. As for your second point, one could argue if the Prophet ﷺ prohibited this for the best of all generations after just finishing the best of ibadat behind the best of creations ﷺ as a deterrent, it should even more so be prohibited in other avoidable situations and times. Additionally, there are other ahadith like ليس للنساء وسط الطريق which are unrestricted in meaning and context. This is sufficient to support the claim of avoiding ikhtilat in public for her safety. Although, if the street is empty, she is not obligated to the sides. To the third point, you are correct in principle. The point I am trying to make is that the masjid was not a place of gathering where women and men hung out together without a partition as some today imagine or would like to see in their own masajid. Generally, when something happens commonly, we find some mention of it in narrations. Narrations about male Companions performing prayer & zikr, reciting Qur’an, eating, and sleeping in the masjid are common. We do not find the same for the women. At that time, the masjid was rather small without divisions. Additionally, the women at one point asked the Prophet ﷺ for a separate session because غلبنا عليك الرجال indicating rather clearly that they did not just sit with the male Companions in the musallah.

    JazakAllah khayr for the input. I intended this article to be concise and brief for the average Muslim. With that in mind, I sacrificed numerous narrations, opinions of scholars, and explanations. Perhaps, I will put together something more detailed in the future. Your input and dua are much appreciated!

  6. A few things:
    1) There is no reliable hadith about the Prophet ordering gender segregation on the streets
    2) You chose a Quran translation to suit your own desires. Most Quran translations mention nothing about covering the hair, rather covering the chest.
    3) Many scholars speak against gender segregation
    4) Imam Ghazali was also a fan of music.

    1. 1. I encourage you to learn the sciences of Hadith to properly understand grading of hadith, its appropriate usages, shawahid, etc.
      2. I encourage you to access the original Arabic writings of traditional scholars who have carried our deen to the modern era. I did not rely on English translations. The translation is my own based on the statements of traditional scholars of fiqh & tafsir.
      3. I encourage you to learn about unacceptable differences & shadh opinions among scholars and when it is not permissible to follow them. ‘Many scholars’ allow for all types of things.
      4. I encourage you to read the rest of the Ihya, in which he clearly prohibits musical instruments. He did allow for a certain type of flute. For this, I encourage you to read Imam al-Adhra‘ī’s opinion on it. This will also give you insight into #3 above. Please be careful not to make false accusations against Imam al-Ghazali.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s