The primary purpose of the mosque is to serve as a place where Muslims can come together for prayer and some other activities of their life (i.e, a centre for information, education, and dispute settlement). The Imam leads the prayer. Nevertheless, mosques are known around the world nowadays for their general importance to the Muslim community as well as their demonstration of Islamic architecture. They have developed significantly from the open-air spaces that were the Quba Mosque and Masjid al-Nabawi in the seventh century. Today, many mosques have elaborate domes, minarets, and prayer halls. Mosques originated on the Arabian Peninsula, but are now found in all inhabited continents. They are not only places for worship and prayer, but also places to learn about Islam and meet fellow believers.
The Arabic masjid means place of worship and is a noun of place from the verb sajada (root "s-j-d," meaning "to bow" or "to kneel") in reference to the prostrations performed during Islamic prayers. Either the word masjid itself or at least the verb from which it is derived was borrowed from Aramaic. The word "m-s-g-d" is attested in Aramaic as early as the 5th century BCE, and the same word is later found in Nabataean inscriptions with the meaning "place of worship"; apparently, this Aramaic word originally meant "stele" or "sacred pillar".. The same root exists also in Hebrew,(ס-ג-ד), meaning "to worship".
The modern-day English word "mosque", just like its equivalents in many other European languages, derives from the word masjid via Spanish mezquita. The pre-cursors of the word "mosque" appeared during the 15th, 16th, and 17th centuries and "Moseak", "muskey", "moschy", and "mos'keh" were just some of the variations that came into use until it was decided that "mosquee", imitating Middle French, Italian, and Old Spanish, would become the standard. In the early 18th century, the modern spelling became the most popular and standard spelling of the word.'''
The word masjid is found throughout the Qur'an, most frequently with reference to the Kaaba sanctuary in Mecca. The Qur'an applies the term "masjid" to places of worship of different religions, including Judaism and Christianity; in the same general meaning of a place of worship, the word is used in the hadith (collections of Muslim traditions about the deeds and saying of the Islamic prophet Muhammad and his companions).
Grand entryways and tall towers, or minarets, have long been and continue to be closely associated with mosques. However, the first three mosques were very simple open spaces on the Arabian Peninsula. Mosques evolved significantly over the next 1,000 years, acquiring their now-distinctive features and adapting to cultures around the world.
According to Islamic beliefs, the first mosque was the Kaaba, whose existing foundation was raised up by Ibrahim and his son Ismail, upon an order from God. The site of the Kaaba is also believed to be the place where a tent was erected by angels for Adam and Eve to use for worship. The oldest mosque built by Muslims is the Quba Mosque in Medina. When Muhammad lived in Mecca, he viewed Kaaba as his first and principal mosque and performed prayers there together with his followers.
Even during times when the pagan Arabs performed their rituals inside the Kaaba, Muhammad always held the Kaaba in very high esteem. The Meccan tribe of Quraish, which was responsible for guarding the Kaaba, attempted to exclude Muhammad's followers from the sanctuary, which became a subject of Muslim complaints recorded in the Qur'an. When Muhammad conquered Mecca in 630, he converted the Kaaba to a mosque, the Masjid al-Haram (Sacred Mosque). This mosque was significantly expanded and improved in the early centuries of Islam in order to accommodate the increasing number of Muslims who either lived in the area or made the annual Hajj, or pilgrimage, to Mecca, before it acquired its present shape in 1577 in the reign of the Ottoman sultan Selim II.
The first thing Muhammad did upon arriving with his followers near Medina (then named Yathrib) after the emigration from Mecca in 622 was build the Quba Mosque in a village outside Medina. Muslims believe he stayed at the Quba Masjid for three days before moving on to Medina.
Just days after beginning work on the Quba Mosque, Muhammad went on to establish another mosque in Medina, the Masjid al-Nabawi (Prophet's Mosque). The location of the mosque was declared after it hosted Muhammad's first Friday prayer. Following its establishment, the Prophet's Mosque continued some of the practices now considered common in today's mosques. For example, the call to prayer (adhan), was developed in the form still used in mosque today. The Masjid al-Nabawi was built with a large courtyard, a motif common among mosques built since then. Muhammad would stand up at one end of the arcade to preach. Later on, he would develop a three-step pulpit as a platform from which he would give sermons. The pulpit, now known as a minbar, is still a common feature of masjids.
Muhammad lived beside the mosque in Medina, which doubled as both a religious and political center for the early Muslim community. Negotiations were conducted, military actions planned, prisoners of war held, disputes settled, religious information disseminated, gifts received and distributed among his companions. His followers treated the wounded there and some people even lived in the mosque permanently in tents and huts.
Mosques were built outside the Arabian Peninsula as Muslims moved to other parts of the world. Egypt became occupied by Muslim Arabs as early as 640, and since then so many mosques have appeared throughout the country that its capital city, Cairo, has acquired the nickname of city of a thousand minarets. Egyptian mosques vary in amenities, as some have Islamic schools (madrassas) while others have hospitals or tombs. Mosques in Sicily and Spain do not primarily reflect the architecture of Visigothic predecessors, but instead reflect the architecture introduced by the Muslim Moors. It is hypothesized, however, that there were some elements of pre-Islamic architecture which were Islamicized into Andalusi and Maghribi architecture, for example, the distinctive horseshoe arch.
The first Chinese mosque was established in the eighth century in Xi'an. The Great Mosque of Xi'an, whose current building dates from the eighteenth century, does not replicate many of the features often associated with traditional mosques. Instead, it follows traditional Chinese architecture. It is distinguished from other buildings by its green roof (Buddhist temples are often built with a yellow roof). Mosques in western China incorporate more traditional elements seen in mosques in other parts of the world. Western Chinese mosques were more likely to incorporate minarets and domes while eastern Chinese mosques were more likely to look like pagodas.
By the fifteenth century, Islam had become the dominant religion in Java and Sumatra, Indonesia's two most populous islands. As with Hinduism and Buddhism before it, the new religion and its accompanying foreign influences were absorbed and reinterpreted, with mosques given a unique Indonesian/Javanese interpretation. At the time, Javanese mosques took many design cues from Hindu, Buddhist, and even Chinese architectural influences. They lacked, for example, the ubiquitous Islamic dome which did not appear in Indonesia until the 19th century, but had tall timber, multi-level roofs not too dissimilar to the pagodas of Balinese Hindu temples still common today. A number of significant early mosques survive, particularly along the north coast of Java. These include the Mesjid Agung in Demak, built in 1474, and the Grand Mosque of Yogyakarta that feature multi-level roofs. Javanese styles in turn influenced the architectural styles of mosques among Indonesia's Austronesian neighbors: Malaysia, Brunei and the southern Philippines.
Mosques diffused into India during the reign of the Mughal empire in the sixteenth and seventeenth centuries. The Mughals brought their own form of architecture that included pointed, onion-shaped domes, as seen in Delhi's Jama Masjid.
Mosques first arrived in the Ottoman Empire (mostly present-day Turkey) during the eleventh century, when many local Turks converted to Islam. Several of the first mosques in the Ottoman Empire, such as the Hagia Sophia in present-day Istanbul, were originally churches or cathedrals in the Byzantine Empire. The Ottomans created their own design of mosques, which included large central domes, multiple minarets, and open façades. The Ottoman style of mosques usually included elaborate columns, aisles, and high ceilings in the interior, while incorporating traditional elements, such as the mihrab. Today, Turkey is still home to many mosques that display this Ottoman style of architecture.
Mosques gradually diffused to different parts of Europe, but the most rapid growth in the number of mosques has occurred within the past century as more Muslims have migrated to the continent. Major European cities, such as Rome, London, and Munich, are home to mosques that feature traditional domes and minarets. These large mosques in urban centers are supposed to serve as community and social centers for a large group of Muslims that occupy the region. However, one can still find smaller mosques in more suburban and rural regions throughout Europe where Muslims populate. There are 40,000 to 50,000 mosques in the United States and Islam is the fastest growing religion there. Mosques first appeared in the United States in the early twentieth century, the first of which was built in the late 1920s in Cedar Rapids, Iowa. However, as more immigrants continue to arrive in the country, especially from South Asia, the number of American mosques is increasing faster than ever before. Whereas only two percent of the country's mosques appeared in the United States before 1950, eighty-seven percent of American mosques were founded after 1970 and fifty percent of American mosques founded after 1980.
According to early Muslim historians, towns that surrendered without resistance and made treaties with the Muslims received permission to retain their churches and synagogues, One of the earliest examples of these kinds of conversions was in Damascus, Syria, where in 705 Umayyad caliph Abd al-Malik took the church of St. John from the Christians and had it rebuilt as a mosque, which is now known as Umayyad Mosque; overall, Abd al-Malik is said to have transformed 10 churches in Damascus into mosques. The process of turning churches into mosques was especially intensive in the villages. The Abbasid caliph al-Ma'mun turned many churches into mosques. Ottoman Turks converted into mosques nearly all churches, monasteries, and chapels in Constantinople, including the famous Hagia Sophia, immediately after capturing the city in 1453. In some instances mosques have been established on the places of Jewish or Christian sanctuaries associated with Biblical personalities who were also recognized by Islam. Muslim rulers in India built mosques seeing their actions as fulfillment of a religious duty.
On the other hand, mosques have also been converted for use by other religions, notably in southern Spain, following the conquest of the Moors in 1492. The most prominent of them is the Great Mosque of Cordoba. The Iberian Peninsula, Southeast Europe, and India (the Babri Masjid incident) are other regions in the world where such instances occurred once no longer under Muslim rule.
All adult Muslims, with exceptions for the infirm, are required to offer Salat prayers five times daily. Most mosques will organise a formal time of prayer for each of the daily timeslots. In addition to holding the daily prayers, mosques hold weekly jumuah sabbath services, which replace the midday prayer on Fridays. While daily prayers can be performed anywhere, it is required to attend Friday prayers at the mosque.
The mosque is the centre of the Islamic community, illustrating the idea of brotherhood and iman.
A funeral prayer, or salat ul-janazah, is held for a deceased Muslim at the mosque, with all congregants present, including the imam, participating. Unlike the daily prayers, the funeral prayers are normally held outdoors in a courtyard or square close to the mosque. During eclipses, mosques will host special prayers called eclipse prayers.
There are two large holidays (Eids) in the Islamic calendar, Eid ul-Fitr and Eid ul-Adha during which there are special prayers held at mosques in the morning. These Eid prayers are supposed to be offered in large groups, and so larger mosques will normally host them for their congregants as well as the congregants of smaller local mosques. Some mosques will even rent convention centers or other large public buildings to hold the large number of Muslims who attend. Mosques, especially those in countries where Muslims are the majority, will also host Eid prayers outside in courtyards or town squares.
Islam's holiest month, Ramadan, is observed through many events. As Muslims must fast during the day during Ramadan, mosques will host iftar dinners after sunset and the fourth required prayer of the day, maghrib. Food is provided, at least in part, by members of the community, thereby creating nightly potluck dinners. Because of the community contribution necessary to serve iftar dinners, mosques with smaller congregations may not be able to host the iftar dinners daily. Some mosques will also hold suhoor meals before dawn to congregants attending the first required prayer of the day, fajr. As with iftar dinners, congregants usually provide the food for suhoor, although able mosques may provide food instead. Mosques will often invite poorer members of the Muslim community to share in beginning and breaking the fasts, as providing charity during Ramadan is regarded in Islam as especially honorable.
Following the last obligatory daily prayer (isha) special, optional tarawih prayers are offered in larger mosques. During each night of prayers, which can last for up to two hours each night, usually one member of the community who has memorized the entire Qur’an will recite a segment of the book. Sometimes, several such people (not necessarily of the local community) take turns to do this. During the last ten days of Ramadan, larger mosques will host all-night programs to observe Laylat al-Qadr, the night Muslims believe the Islamic prophet Muhammad first received Qur'anic revelations. On that night, between sunset and sunrise, mosques employ speakers to educate congregants in attendance about Islam. Mosques or the community usually provide meals periodically throughout the night.
During the last ten days of Ramadan, larger mosques within the Muslim community will host i'tikaf, a practice in which at least one Muslim man from the community must participate. Muslims performing i'tikaf are required to stay within the mosque for ten consecutive days, often in worship or learning about Islam. As a result, the rest of the Muslim community is responsible for providing the participants with food, drinks, and whatever else they need during their stay.
The third of the Five Pillars of Islam states that Muslims are required to give approximately one-fortieth of their wealth to charity as zakat. Since mosques form the center of Muslim communities, they are where Muslims go to both give zakat and, if necessary, collect it. Prior to the holiday of Eid ul-Fitr, mosques also collect a special zakat that is supposed to assist in helping poor Muslims attend the prayers and celebrations associated with the holiday.
The late twentieth century saw an increase in the number of mosques used for political purposes. Today, civic participation is commonly promoted in mosques in the Western world. Because of the importance in the community, mosques are used for preaching peaceful co-existence with non-believers, even in times of adversity.
Countries with a minority Muslim population are more likely than Muslim-majority countries of the Greater Middle East to use mosques as a way to promote civic participation. American mosques host voter registration and civic participation drives that promote involving Muslims, who are often first- or second-generation immigrants, in the political process. As a result of these efforts as well as attempts at mosques to keep Muslims informed about the issues facing the Muslim community, regular mosque attendants are more likely to participate in protests, sign petitions, and otherwise be involved in politics.
Nevertheless, a link between political views and mosque attendance can still be seen in other parts of the world. Following the al-Askari Mosque bombing in February 2006, imams and other Islamic leaders used mosques and Friday prayers as vehicles to call for calm and peace in the midst of widespread violence.
Beginning in the late twentieth century and continuing into the early twenty-first century, a small number of mosques have also become the platforms of some extremist imams to advocate terrorism and extreme Islamic ideals. Finsbury Park Mosque in London is exemplary of a mosque that has been used in this manner.
As they are considered important to the Muslim community, mosques, like other places of worship, can be at the heart of social conflicts.
Babri Mosque was the subject of such a conflict up until the early 1990s when it was demolished. Before a mutual solution could be devised, the mosque was destroyed by approximately 200,000 Hindus on December 6, 1992 as the mosque was built by Babur allegedly on the site of a previous Hindu temple marking the birthplace of Ram. The controversy surrounded the mosque was directly linked to rioting in Bombay (present-day Mumbai) as well as bombings in 1993 that killed 257 people.
A February 2006 bombing that seriously damaged Iraq's al-Askari Mosque, exacerbated tensions that had already existed. Other mosque bombings in Iraq, both before and after the February 2006 bombing, have been part of the conflict between the country's groups of Muslims. However, mosque bombings have not been exclusive to Iraq; in June 2005, a suicide bomber killed at least 19 people at an Afghan mosque. In April 2006, two explosions occurred at India's Jama Masjid.
Following the September 11 attacks, several American mosques were targeted in attacks ranging from simple vandalism to arson. Furthermore, the Jewish Defense League was suspected of plotting to bomb the King Fahd Mosque in Culver City, California. Similar attacks occurred throughout the United Kingdom following the 7 July 2005 London bombings. Outside the Western world, in June 2001, the Hassan Bek Mosque was the target of attacks involving hundreds of Israelis angry at Arabs for a previous attack.
Although the Saudi involvement in mosques around the world can be traced back to the 1960s, it was not until later in the twentieth century that the government of Saudi Arabia became a large influence in foreign mosques. Beginning in the 1980s, the Saudi Arabian government began to finance the construction of mosques in countries around the world. An estimated US$45 billion has been spent by the Saudi Arabian government financing mosques and Islamic schools in foreign countries. Ain al-Yaqeen, a Saudi newspaper, reported in 2002 that Saudi funds may have contributed to building as many as 1,500 mosques and 2,000 other Islamic centers Saudi citizens have also contributed significantly to mosques in the Islamic world, especially in countries where they see Muslims as poor and oppressed. Following the fall of the Soviet Union, in 1992, mosques in impoverished Afghanistan saw many contributions from Saudi citizens. The King Fahd Mosque in Culver City, California and the Islamic Cultural Center of Italy in Rome represent two of Saudi Arabia's largest investments in foreign mosques as former Saudi king Fahd bin Abdul Aziz al-Saud contributed US$8 million and US$50 million to the two mosques, respectively.
The architecture of mosques are a continuation of pre-Islamic architecture of palaces built during the Parthian and Sassanian dynasties of Persia. The Sarvestan palace from the Sassanian era is a great example of this. For example, the idea of having an arched entrance and a central dome is clearly one borrowed from pre-Islamic, Persian architecture. After the Arab invasion of Persia, this architecture, as well as elements of Sassanian culture, was used for the new Islamic world. Many forms of mosques have evolved in different regions of the Islamic world. Notable mosque types include the early Abbasid mosques, T-type mosques, and the central-dome mosques of Anatolia. The oil-wealth of the twentieth century drove a great deal of mosque construction using designs from leading non-Muslim modern architects and promoting the careers of important contemporary Muslim architects.
Arab-plan or hypostyle mosques are the earliest type of mosques, pioneered under the Umayyad Dynasty. These mosques have square or rectangular plans with an enclosed courtyard and covered prayer hall. Historically, in the warm Mediterranean and Middle Eastern climates, the courtyard served to accommodate the large number of worshippers during Friday prayers. Most early hypostyle mosques had flat roofs on prayer halls, which required the use of numerous columns and supports. One of the most notable hypostyle mosques is the Mezquita de Córdoba in Spain, the building being supported by over 850 columns. Frequently, hypostyle mosques have outer arcades so that visitors can enjoy the shade. Arab-plan mosques were constructed mostly under the Umayyad and Abbasid dynasties; subsequently, however, the simplicity of the Arab plan limited the opportunities for further development, the mosques consequently losing popularity.
The Ottomans introduced central dome mosques in the fifteenth century and have a large dome centered over the prayer hall. In addition to having a large central dome, a common feature is smaller domes that exist off-center over the prayer hall or throughout the rest of the mosque, where prayer is not performed. This style was heavily influenced by the Byzantine religious architecture with its use of large central domes.
Iwan mosques are most notable for their domed chambers and iwans, vaulted spaces opening out at one end. In iwan mosques, one or more iwans face a central courtyard that serves as the prayer hall. The style represents a borrowing from pre-Islamic Iranian architecture and has been used almost exclusively for mosques in Iran.
Hajja Soad's mosque took a pyramid shape which is a creative style in Islamic architecture.
A common feature in mosques is the minaret, the tall, slender tower that usually is situated at one of the corners of the mosque structure. The top of the minaret is always the highest point in mosques that have one, and often the highest point in the immediate area. The tallest minaret in the world is located at the Hassan II Mosque in Casablanca, Morocco.
The first mosques had no minarets, and even nowadays the most conservative Islamic movements, like Wahhabis, avoid building minarets, seeing them as ostentatious and unnecessary. The first minaret was constructed in 665 in Basra during the reign of the Umayyad caliph Muawiyah I. Muawiyah encouraged the construction of minarets, as they were supposed to bring mosques on par with Christian churches with their bell towers. Consequently, mosque architects borrowed the shape of the bell tower for their minarets, which were used for essentially the same purpose — calling the faithful to prayer.
Before the five required daily prayers, a muezzin calls the worshippers to prayer from the minaret. In many countries like Singapore where Muslims are not the majority, mosques are prohibited from loudly broadcasting the call to prayer (adhan), although it is supposed to be said loudly to the surrounding community. The adhan is required before every prayer. However, nearly every mosque assigns a muezzin for each prayer to say the adhan as it is a recommended practice or sunnah of the Islamic prophet Muhammad. At mosques that do not have minarets, the adhan is called instead from inside the mosque or somewhere else on the ground. The iqama, which is similar to the adhan and said immediately before the start of prayer, is usually not said from the minaret even if a mosque has one.
The domes, often placed directly above the main prayer hall, may signify the vaults of heaven and the sky. As time progressed, dome grew, from occupying a small part of the roof near the mihrab to encompassing the whole roof above the prayer hall. Although domes normally took on the shape of a hemisphere, the Mughals in India popularized onion-shaped domes in South Asia and Persia. Some mosques have multiple, often smaller, domes in addition to the main large dome that resides at the center. Domes in traditional mosques would be used to help the imam project his voice as the sound waves would bounce in and then out of the dome making the voice louder.
The prayer hall, also known as the musalla, has no furniture; chairs and pews are absent from the prayer hall so as to allow as many worshippers as possible to line the room. Some mosques have Arabic calligraphy and Qur'anic verses on the walls to assist worshippers in focusing on the beauty of Islam and its holiest book, the Qur'an, as well as for decoration.
Usually opposite the entrance to the prayer hall is the qiblah wall, the visually emphasized area inside the prayer hall. The qiblah wall should, in a properly oriented mosque, be set perpendicular to a line leading to Mecca, the location of the Kaaba. Congregants pray in rows parallel to the qiblah wall and thus arrange themselves so they face Mecca. In the qiblah wall, usually at its center, is the mihrab, a niche or depression indicating the direction of Mecca. Usually the mihrab is not occupied by furniture either. Sometimes, especially during Friday prayers, a raised minbar or pulpit is located to the side of the mihrab for a khatib or some other speaker to offer a sermon (khutbah). The mihrab serves as the location where the imam leads the five daily prayers on a regular basis.
As ritual purification precedes all prayers, mosques often have ablution fountains or other facilities for washing in their entryways or courtyards. However, worshippers at much smaller mosques often have to use restrooms to perform their ablutions. In traditional mosques, this function is often elaborated into a freestanding building in the center of a courtyard. This desire for cleanliness extends to the prayer halls where shoes are disallowed to be worn anywhere other than the cloakroom. Thus, foyers with shelves to put shoes and racks to hold coats are commonplace among mosques.
Modern mosques have a variety of amenities available to their congregants. As mosques are supposed to appeal to the community, they may also have additional facilities, from health clinics to libraries to gymnasiums, to serve the community.
Appointment of a prayer leader is considered desirable, but not always obligatory. The permanent prayer leader (imam) must be a free honest man and is authoritative in religious matters. In mosques constructed and maintained by the government, the prayer leader is appointed by the ruler; in private mosques, however, appointment is made by members of the congregation through majority voting. According to the Hanafi school of Islamic jurisprudence, the man who built the mosque has a stronger claim to the title of imam, but this view is not shared by the other schools.
Leadership at prayer falls into three categories, depending on the type of prayer: five daily prayers, Friday prayer, or optional prayers. According to the Hanafi and Maliki school of Islamic jurisprudence, appointment of a prayer leader for Friday service is mandatory because otherwise the prayer is invalid. The Shafi'i and Hanbali schools, however, argue that the appointment is not necessary and the prayer is valid as long as it is performed in a congregation. A slave may lead a Friday prayer, but Muslim authorities disagree over whether the job can be done by a minor. An imam appointed to lead Friday prayers may also lead at the five daily prayers; Muslim scholars agree to the leader appointed for five daily services may lead the Friday service as well.
All Muslim authorities hold the consensus opinion that only men may lead prayer for men. Nevertheless women prayer leaders are allowed to lead prayer in front of all-female congregations.
All mosques have rules regarding cleanliness, as it is an essential part of the worshipper's experience. Muslims before prayer are required to cleanse themselves in an ablution process known as wudu. However, even to those who enter the prayer hall of a mosque without the intention of praying, there are still rules that apply. Shoes must not be worn inside the carpeted prayer hall. Some mosques will also extend that rule to include other parts of the facility even if those other locations are not devoted to prayer. Congregants and visitors to mosques are supposed to be clean themselves. It is also undesirable to come to the mosque after eating something that smells, such as garlic.
Islam requires that its adherents wear clothes that portray modesty. As a result, although many mosques will not enforce violations, both men and women when attending a mosque must adhere to these guidelines. Men are supposed to come to the mosque wearing loose and clean clothes that do not reveal the shape of the body. Likewise, it is recommended that women at a mosque wear loose clothing, shirts, pants that cover to the wrists and ankles and cover their heads such as with a hijab. Many Muslims, regardless of their ethnic background, wear Middle eastern clothing associated with Arabic Islam to special occasions and prayers at mosques.
As mosques are places of worship, those within the mosque are required to remain respectful to those in prayer. Loud talking within the mosque, as well as discussion of topics deemed disrespectful, is forbidden in areas where people are praying. In addition, it is disrespectful to walk in front of or otherwise disturb Muslims in prayer. The walls within the mosque have few items, except for possibly Arabic calligraphy, so Muslims in prayer are not distracted. Muslims are also discouraged from wearing clothing with distracting images and symbols so as not to divert the attention of those standing behind them during prayer. In many mosques, even the carpeted prayer area has no designs, its plainness helping worshippers to focus.
Islamic law requires men and women to be separated in the prayer hall; ideally, the women must occupy the rows behind the men. Muhammad preferred women to pray at home rather than at a mosque, and according to the hadith Muhammad said: "The best mosques for women are the inner parts of their houses", although Muhammad told Muslims not to forbid women from entering mosques. The second caliph Umar at one time prohibited women from attending mosques especially at night because he feared they may be teased by males, so he required them to pray at home. Sometimes a special part of the mosque was railed off for women; for example, the governor of Mecca in 870 had ropes tied between the columns to make a separate place for women. Many mosques today will put the women behind a barrier or partition or in another room. Mosques in South and Southeast Asia put men and women in separate rooms, as the divisions were built into them centuries ago. In nearly two-thirds of American mosques, women pray behind partitions or in separate areas, not in the main prayer hall; some mosques do not admit women at all. Although there are sections exclusively for women and children, the Grand Mosque in Mecca is desegregated.
Under most interpretations of Islamic law, non-Muslims may be allowed into mosques, as long as they do not sleep or eat there; the dissenting opinion is presented by followers of the Maliki school of Islamic jurisprudence, who argue that non-Muslims may not be allowed into mosques under any circumstances.
The Qur'an addresses the subject of non-Muslims, and particularly polytheists, in mosques in two verses in its ninth chapter, Sura At-Tawba. The seventeenth verse of the chapter prohibits those who join gods with Allah — polytheists — from entering mosques:
According to Ahmad ibn Hanbal, these verses were followed to the letter at the times of Muhammad, when Jews and Christians, considered monotheists, were still allowed to the Masjid al-Haram. However, the Umayyad caliph Umar II later forbade non-Muslims from entering mosques, and his ruling remained in practice in Saudi Arabia. Today, the decision on whether non-Muslims should be allowed to enter mosques varies. With few exceptions, mosques in the Arabian peninsula as well as Morocco do not allow entry to non-Muslims. For example, the Hassan II Mosque in Casablanca is one of only two mosques in Morocco currently open to non-Muslims. However, there are also many other places in the west as well as the Islamic world where non-Muslims are welcome to enter mosques. Most mosques in the United States, for example, report receiving non-Muslim visitors every month. Many Mosques throughout the United States welcome non-Muslims as a sign of openness to the rest of the community as well as to encourage conversions to Islam.
In modern-day Saudi Arabia, the Grand Mosque and all of Mecca are open only to Muslims. Likewise, the Masjid al-Nabawi and the city of Medina that surrounds it are also off-limits to those who do not practice Islam. For mosques in other areas, it has most commonly been taken that non-Muslims may only enter mosques if granted permission to do so by Muslims and if they have a legitimate reason. All entrants regardless of religious affiliation are expected to respect the rules and decorum for mosques.
In modern Turkey non-Muslim tourists are allowed to enter any mosque, but there are some strict rules. Visiting a mosque is allowed only between prayers; visitors are required to wear long trousers and not to wear shoes, women must cover their heads; visitors are not allowed to interrupt praying Muslims, especially by taking photos of them; no loud talk is allowed; and no references to other religions are allowed (no crosses on necklaces, no cross gestures etc.)
At different times and places, non-Muslims living under Muslim rule were required to demonstrate deference to mosques. In most cities of Morocco, Jews were required to remove their shoes when passing by a mosque Danish traveler Carsten Niebuhr wrote that in 18th century Egypt Jews and Christians had to dismount before several mosques in veneration of their sanctity.
Dogs are usually banned from entering mosques, but on September 24, 2008, the Muslim Law Council UK granted a blind Muslim permission to take his guide dog into the mosque via a Fatwa.