Madrasa
alt=|thumb|upright=1.25|The three madrasas at the Registan of Samarkand, at the center of the Timurid Renaissance.
Madrasa (,"madrasa" (US) and  also , ; Arabic: مدرسة , pl. , ) is the Arabic word for any type of educational institution, secular or religious (of any religion), whether for elementary instruction or higher learning. The word is variously transliterated madrasah, medresa, madrassa, madraza, medrese, etc. In countries outside the Arab world, the word usually refers to a specific type of religious school or college for the study of the religion of Islam, though this may not be the only subject studied.

In an architectural and historical context, the term generally refers to a particular kind of institution in the historic Muslim world which primarily taught Islamic law and jurisprudence (fiqh), as well as other subjects on occasion. The origin of this type of institution is widely credited to Nizam al-Mulk, a vizier under the Seljuks in the 11th century, who was responsible for building the first network of official madrasas in Iran, Mesopotamia, and Khorasan. From there, the construction of madrasas spread across much of the Muslim world over the next few centuries, often adopting similar models of architectural design.

Definition
 Etymology 
The word  derives from the triconsonantal Semitic root د-ر-س D-R-S 'to learn, study', using the wazn (morphological form or template) ; , meaning "a place where something is done". Thus,  literally means "a place where learning and studying take place" or "place of study". The word is also present as a loanword with the same general meaning in many Arabic-influenced languages, such as: Urdu, Punjabi,
Bengali, Pashto, Baluchi, Persian, Turkish, Azeri, Kurdish, Indonesian, Somali and Bosnian.

 Arabic meaning 
In the Arabic language, the word   simply means the same as school does in the English language, whether that is private, public or parochial school, as well as for any primary or secondary school whether Muslim, non-Muslim, or secular. () translates as 'public school',  () translates as 'private school',  () translates as 'religious school',  () translates as 'Islamic school', and  () translates as 'university'. Unlike the use of the word school in British English, the word  more closely resembles the term school in American English, in that it can refer to a university-level or post-graduate school as well as to a primary or secondary school. For example, in the Ottoman Empire during the Early Modern Period, madrasas had lower schools and specialised schools where the students became known as danişmends.İnalcık, Halil. 1973. "Learning, the Medrese, and the Ulema." In The Ottoman Empire: The Classical Age 1300–1600. New York: Praeger, pp. 165–178. In medieval usage, however, the term madrasah was usually specific to institutions of higher learning, which generally taught Islamic law and occasionally other subjects, as opposed to elementary schools or children's schools, which were usually known as kuttāb or maktab. The usual modern Arabic word for a university, however, is  (). The Hebrew cognate midrasha also connotes the meaning of a place of learning; the related term midrash literally refers to study or learning, but has acquired mystical and religious connotations.

 Meaning and usage in English 
In English, the term  or "madrasa" usually refers more narrowly to Islamic institutions of learning. Historians and other scholars also employ the term to refer to historical madrasah institutions throughout the Muslim world, which is to say a college where Islamic law was taught along with other secondary subjects. These institutions were typically housed in specially designed buildings which were primarily devoted to this purpose. Such institutions are believed to have originated, or at least proliferated, in the region of Iran in the 11th century under vizier Nizam al-Mulk and subsequently spread to other regions of the Islamic world.

History

 Early history 
left|thumb|View of the Qarawiyyin Mosque (marked by the green roofs and the white minaret) on the skyline of historic Fes|alt=|250x250px
The first institute of madrasa education was at the estate of Zaid bin Arkam near a hill called Safa, where Muhammad was the teacher and the students were some of his followers. After Hijrah (migration) the madrasa of "Suffa" was established in Madina on the east side of the Al-Masjid an-Nabawi mosque. Ubada ibn as-Samit was appointed there by Muhammad as teacher and among the students. In the curriculum of the madrasa, there were teachings of The Qur'an, The Hadith, fara'iz, tajweed, genealogy, treatises of first aid, etc. There was also training in horse-riding, the art of war, handwriting and calligraphy, athletics and martial arts. The first part of madrasa-based education is estimated from the first day of "nabuwwat" to the first portion of the Umayyad Caliphate. At the beginning of the Caliphate period, the reliance on courts initially confined sponsorship and scholarly activities to major centres.

In the early history of the Islamic period, teaching was generally carried out in mosques rather than in separate specialized institutions. Although some major early mosques like the Great Mosque of Damascus or the Mosque of Amr ibn al-As in Cairo had separate rooms which were devoted to teaching, this distinction between "mosque" and "madrasa" was not very present. Notably, the al-Qarawiyyin (Jāmiʻat al-Qarawīyīn), established in 859 in the city of Fes, present-day Morocco, is considered the oldest university in the world by some scholars,while other scholars have argued that this distinction belongs to the University of al-Qarawiyyin, also founded in 859.

Kettani, M. Ali. Engineering Education in the Arab World. Middle East Journal, 1974, 28(4):441. though the application of the term "university" to institutions of the medieval Muslim world is disputed.Makdisi, George: "Madrasa and University in the Middle Ages", Studia Islamica, No. 32 (1970), pp. 255–264Verger, Jacques: "Patterns", in: Ridder-Symoens, Hilde de (ed.): A History of the University in Europe. Vol. I: Universities in the Middle Ages, Cambridge University Press, 2003, , pp. 35–76 (35):  According to tradition, the al-Qarawiyyin mosque was founded by , the daughter of a wealthy merchant named . This was later followed by the Fatimid establishment of al-Azhar Mosque in 969–970 in Cairo, initially as a center to promote Isma'ili teachings, which later became a Sunni institution under Ayyubid rule (today's Al-Azhar University).Jonathan Berkey, The Transmission of Knowledge in Medieval Cairo (Princeton: Princeton University Press, 1992), passim

 The development of the formal madrasah
left|thumb|The Madrasa al-Mustansiriyya in Baghdad, established in 1227, one of the only Abbasid-era madrasas remaining today
thumbnail|Çifte Minareli Medrese in Erzurum, built in the 13th century|alt=
In the late 11th century, during the late ʻAbbāsid period, the Seljuk vizier  created one of the first major official academic institutions known in history as the , based on the informal  (sessions of the shaykhs). , who would later be murdered by the Assassins (), created a system of state madrasas (in his time they were called the Niẓāmiyyahs, named after him) in various Seljuk and ʻAbbāsid cities at the end of the 11th century, ranging from Mesopotamia to Khorasan. Although madrasa-type institutions appear to have existed in Iran before Nizam al-Mulk, this period is nonetheless considered by many as the starting point for the proliferation of the formal madrasah across the rest of the Muslim world, adapted for use by all four different Sunni Islamic legal schools and Sufi orders. Part of the motivation for this widespread adoption of the madrasah by Sunni rulers and elites was a desire to counter the influence and spread of Shi'ism at the time, by using these institutions to spread Sunni teachings.

Dimitri Gutas and the Stanford Encyclopedia of Philosophy consider the period between the 11th and 14th centuries to be the "Golden Age" of Arabic and Islamic philosophy, initiated by al-Ghazali's successful integration of logic into the  curriculum and the subsequent rise of Avicennism. In addition to religious subjects, they sometimes taught the "rational sciences," as varied as mathematics, astronomy, astrology, geography, alchemy, philosophy, magic, and occultism, depending on the curriculum of the specific institution in question. The madrasas, however, were not centres of advanced scientific study; scientific advances in Islam were usually carried out by scholars working under the patronage of royal courts., pages 225-7 During the Islamic Golden Age, the territories under the Caliphate experienced a growth in literacy, having the highest literacy rate of the Middle Ages, comparable to classical Athens' literacy in antiquity but on a much larger scale. The emergence of the maktab and madrasa institutions played a fundamental role in the relatively high literacy rates of the medieval Islamic world.
thumb|Mosque-Madrassa of Sultan Hassan in Cairo, built in the 14th century

Under the Anatolian Seljuk, Ayyubid, and Mamluk dynasties (11th-16th centuries) in the Middle East, many of the ruling elite founded madrasas through a religious endowment known as the waqf.Ira Lapidus, Muslim Cities in the Later Middle Ages (Cambridge: Cambridge University Press, 1984), passim Not only was the madrasa a potent symbol of status for its patrons but it could also be an effective means of transmitting wealth and status to their descendants. Especially during the Mamluk period, when only former slaves (mamālīk) could assume power, the sons of the ruling Mamluk elites were unable to inherit. Guaranteed positions within the new madrasas (and other similar foundations) thus allowed them to maintain some status and means of living even after their fathers' deaths. Madrasas built in this period include the monumental Mosque- of Sultan  in Cairo, as well as numerous other madrasas, often associated with the mausoleums of their founders.Behrens-Abouseif, Doris. 2007. Cairo of the Mamluks: A History of Architecture and its Culture. Cairo: The American University in Cairo Press. By the late 13th century, the first madrasas were being built in Morocco under the Marinid dynasty, starting with the Saffarin Madrasa in Fes (founded in 1271) and culminating with much larger and more ornate constructions like the Bou Inania Madrasa (founded in 1350).

During the Ottoman period the medrese (Turkish word for madrasah) was a common institution as well, often part of a larger külliye or a waqf-based religious foundation which included other elements like a mosque and a hammam (public bathhouse). The following excerpt provides a brief synopsis of the historical origins and starting points for the teachings that took place in the Ottoman madrasas in the Early Modern Period:

 Islamic education in the madrasa 

The term "Islamic education" means education in the light of Islam itself, which is rooted in the teachings of the Qur'an - the holy book of the Muslims. Islamic education and Muslim education are not the same. Because Islamic education has epistemological integration which is founded on Tawhid - Oneness or monotheism.Baba, S., Salleh, M. J., Zayed, T. M., & Harris, R. (2015). A Qur’anic Methodology for Integrating Knowledge and Education: Implications for Malaysia’s Islamic Education Strategy. The American Journal of Islamic Social Sciences, 32(2).Baba, S., & Zayed, T. M. (2015). Knowledge of Shariah and Knowledge to Manage “Self” and “System”: Integration of Islamic Epistemology with the Knowledge and Education. Journal of Islam, Law and Judiciary, 1(1), 45–62.

A typical Islamic school usually offers two courses of study: a  course teaching memorization of the Qur'an (the person who commits the entire Qur'an to memory is called a ); and an  course leading the candidate to become an accepted scholar in the community. A regular curriculum includes courses in Arabic, tafsir (Qur'anic interpretation),  (Islamic law), hadiths (recorded sayings and deeds of Muhammad), mantiq (logic), and Muslim history. In the Ottoman Empire, during the Early Modern Period, the study of hadiths was introduced by Süleyman I. Depending on the educational demands, some madrasas also offer additional advanced courses in Arabic literature, English and other foreign languages, as well as science and world history. Ottoman madrasas along with religious teachings also taught "styles of writing, grammar, syntax, poetry, composition, natural sciences, political sciences, and etiquette."

People of all ages attend, and many often move on to becoming imams. The certificate of an ʻālim, for example, requires approximately twelve years of study. A good number of the ḥuffāẓ (plural of ḥāfiẓ) are the product of the madrasas. The madrasas also resemble colleges, where people take evening classes and reside in dormitories. An important function of the madrasas is to admit orphans and poor children in order to provide them with education and training. Madrasas may enroll female students; however, they study separately from the men.

 Education in historical madrasas 

Elementary education

thumb|The Sabil-Kuttab of Sultan Qaytbay in Cairo, built in the 15th century. The bottom floor contained a sabil and the top floor held a kuttab
In the medieval Islamic world, an elementary school (for children or for those learning to read) was known as a 'kuttāb' or . Their exact origin is uncertain, but they appear to have been already widespread in the early Abbasid period (8th-9th centuries) and may have played an early role in socializing new ethnic and demographic groups into the Islamic religion during the first few centuries after the Arab-Muslim conquests of the region. Like madrasas (which referred to higher education), a  was often attached to an endowed mosque. In the 11th century, the famous Persian Islamic philosopher and teacher  (known as Avicenna in the West), in one of his books, wrote a chapter about the  entitled "The Role of the Teacher in the Training and Upbringing of Children," as a guide to teachers working at  schools. He wrote that children can learn better if taught in classes instead of individual tuition from private tutors, and he gave a number of reasons for why this is the case, citing the value of competition and emulation among pupils, as well as the usefulness of group discussions and debates.  described the curriculum of a  school in some detail, describing the curricula for two stages of education in a  school.

Primary education
 wrote that children should be sent to a  school from the age of 6 and be taught primary education until they reach the age of 14. During which time, he wrote, they should be taught the Qur'an, Islamic metaphysics, Arabic, literature, Islamic ethics, and manual skills (which could refer to a variety of practical skills).

Secondary education
 refers to the secondary education stage of  schooling as a period of specialisation when pupils should begin to acquire manual skills, regardless of their social status. He writes that children after the age of 14 should be allowed to choose and specialise in subjects they have an interest in, whether it was reading, manual skills, literature, preaching, medicine, geometry, trade and commerce, craftsmanship, or any other subject or profession they would be interested in pursuing for a future career. He wrote that this was a transitional stage and that there needs to be flexibility regarding the age in which pupils graduate, as the student's emotional development and chosen subjects need to be taken into account.

Higher education

thumb|Courtyard of the Al-Azhar Mosque and University in Cairo, Egypt

During its formative period, the term  referred to a higher education institution, whose curriculum initially included only the "religious sciences", whilst philosophy and the secular sciences were often excluded.Toby E. Huff (2003), The Rise of Early Modern Science: Islam, China and the West, Cambridge University Press, pp. 77–8 The curriculum slowly began to diversify, with many later madrasas teaching both the religious and the "secular sciences", such as logic, mathematics and philosophy. Some madrasas further extended their curriculum to history, politics, ethics, music, metaphysics, medicine, astronomy and chemistry. The curriculum of a  was usually set by its founder, but most generally taught both the religious sciences and the physical sciences. Madrasas were established throughout the Islamic world, examples being the 9th century University of al-Qarawiyyin, the 10th century al-Azhar University (the most famous), the 11th century , as well as 75 madrasas in Cairo, 51 in Damascus and up to 44 in Aleppo between 1155 and 1260. Many more were also established in the Andalusian cities of Córdoba, Seville, Toledo, Granada (Madrasah of Granada), Murcia, Almería, Valencia and Cádiz during the Caliphate of Córdoba.

In the Ottoman Empire during the early modern period, "Madaris were divided into lower and specialised levels, which reveals that there was a sense of elevation in school. Students who studied in the specialised schools after completing courses in the lower levels became known as danişmends."

While "" can now refer to any type of school, the term  was originally used to refer more specifically to a medieval Islamic centre of learning, mainly teaching Islamic law and theology, usually affiliated with a mosque, and funded by an early charitable trust known as waqf.

Law school

Madrasas were largely centred on the study of  (Islamic jurisprudence). The  ("licence to teach and issue legal opinions") in the medieval Islamic legal education system had its origins in the 9th century after the formation of the  (schools of jurisprudence). George Makdisi considers the  to be the origin of the European doctorate. However, in an earlier article, he considered the  to be of "fundamental difference" to the medieval doctorate, since the former was awarded by an individual teacher-scholar not obliged to follow any formal criteria, whereas the latter was conferred on the student by the collective authority of the faculty.George Makdisi: "Madrasa and University in the Middle Ages", Studia Islamica, No. 32 (1970), pp. 255-264 (260) To obtain an , a student "had to study in a guild school of law, usually four years for the basic undergraduate course" and ten or more years for a post-graduate course. The "doctorate was obtained after an oral examination to determine the originality of the candidate's theses", and to test the student's "ability to defend them against all objections, in disputations set up for the purpose." These were scholarly exercises practised throughout the student's "career as a graduate student of law." After students completed their post-graduate education, they were awarded ijazas giving them the status of  'scholar of jurisprudence',  'scholar competent in issuing fatwās', and  'teacher'.

thumb|right|Bosnian Madrasa, c. 1906
The Arabic term  was awarded to Islamic scholars who were qualified to teach. According to Makdisi, the Latin title licentia docendi 'licence to teach' in the European university may have been a translation of the Arabic, but the underlying concept was very different. A significant difference between the  and the licentia docendi was that the former was awarded by the individual scholar-teacher, while the latter was awarded by the chief official of the university, who represented the collective faculty, rather than the individual scholar-teacher.Toby Huff, Rise of Early Modern Science 2nd. ed. p. 78-79; 136, 155.

Much of the study in the  college centred on examining whether certain opinions of law were orthodox. This scholarly process of "determining orthodoxy began with a question which the Muslim layman, called in that capacity , presented to a jurisconsult, called mufti, soliciting from him a response, called fatwa, a legal opinion (the religious law of Islam covers civil as well as religious matters). The mufti (professor of legal opinions) took this question, studied it, researched it intensively in the sacred scriptures, in order to find a solution to it. This process of scholarly research was called , literally, the exertion of one's efforts to the utmost limit."

Medical school

Though Islamic medicine was most often taught at the bimaristan teaching hospitals, there were also several medical madrasas dedicated to the teaching of medicine. For example, of the 155 madrasa colleges in 15th century Damascus, three of them were medical schools.

Toby Huff argues that no medical degrees were granted to students, as there was no faculty that could issue them, and that therefore, no system of examination and certification developed in the Islamic tradition like that of medieval Europe.Toby Huff, Rise of Early Modern Science: Islam, China and the West, 2nd ed., Cambridge 2003, , p. 191-193 However, the historians Andrew C. Miller, Nigel J. Shanks and Dawshe Al-Kalai point out that, during this era, physician licensure became mandatory in the Abbasid Caliphate. In 931 AD, Caliph Al-Muqtadir learned of the death of one of his subjects as a result of a physician's error. He immediately ordered his muhtasib Sinan ibn Thabit to examine and prevent doctors from practicing until they passed an examination. From this time on, licensing exams were required and only qualified physicians were allowed to practice medicine.

In the Early Modern Period in the Ottoman Empire, "Suleyman I added new curriculums ['sic'] to the Ottoman medreses of which one was medicine, which alongside studying of the  was given highest rank."

Madrasa and university
Note: The word  () simply means 'university'. For more information, see Islamic university (disambiguation).
Scholars like Arnold H. Green and Seyyed Hossein Nasr have argued that, starting in the 10th century, some medieval Islamic madrasas indeed became universities. However, scholars like George Makdisi, Toby Huff and Norman DanielToby Huff, Rise of Early Modern Science: Islam, China and the West, 2nd ed., Cambridge 2003, , p. 179-185 argue that the European medieval university has no parallel in the medieval Islamic world.George Makdisi: "Madrasa and University in the Middle Ages", Studia Islamica, No. 32 (1970), pp. 255-264 (264): Toby Huff, Rise of Early Modern Science: Islam, China and the West, 2nd ed., Cambridge 2003, , p. 133-139, 149-159, 179-189 Darleen Pryds questions this view, pointing out that madrasas and European universities in the Mediterranean region shared similar foundations by princely patrons and were intended to provide loyal administrators to further the rulers' agenda. A number of scholars regard the university as uniquely European in origin and characteristics.Rüegg, Walter: "Foreword. The University as a European Institution", in: A History of the University in Europe. Vol. 1: Universities in the Middle Ages, Cambridge University Press, 1992, , pp. XIX–XXde Ridder-Symoens, Hilde: A History of the University in Europe: Volume 1, Universities in the Middle Ages, Cambridge University Press, 1992, , pp. 47-55 According to Encyclopædia Britannica, however, the earliest universities were founded in Asia and Africa, predating the first European medieval universities.Encyclopædia Britannica: "University", 2012, retrieved 26 July 2012

Al-Qarawīyīn University in Fez, present-day Morocco is recognised by many historians as the oldest degree-granting university in the world, having been founded in 859 as a mosque by Fatima al-Fihri.Kettani, M. Ali. Engineering Education in the Arab World. Middle East Journal, 1974, 28(4):441.Civilization: The West and the Rest by Niall Ferguson, Publisher: Allen Lane 2011 -  While the madrasa college could also issue degrees at all levels, the jāmiʻahs (such as al-Qarawīyīn and al-Azhar University) differed in the sense that they were larger institutions, more universal in terms of their complete source of studies, had individual faculties for different subjects, and could house a number of mosques, madrasas, and other institutions within them. Such an institution has thus been described as an "Islamic university".
thumb|Al-Azhar Mosque and University in Cairo
Al-Azhar University, founded in Cairo, Egypt in 975 by the Ismaʻīlī Shīʻī Fatimid dynasty as a , had individual faculties for a theological seminary, Islamic law and jurisprudence, Arabic grammar, Islamic astronomy, early Islamic philosophy and logic in Islamic philosophy. The postgraduate doctorate in law was only obtained after "an oral examination to determine the originality of the candidate's theses", and to test the student's "ability to defend them against all objections, in disputations set up for the purpose." ‘Abd al-Laṭīf al-Baghdādī also delivered lectures on Islamic medicine at al-Azhar, while Maimonides delivered lectures on medicine and astronomy there during the time of Saladin. Another early  was the Niẓāmīyah of Baghdād (founded 1091), which has been called the "largest university of the Medieval world." Mustansiriya University, established by the ʻAbbāsid caliph al-Mustanṣir in 1227, in addition to teaching the religious subjects, offered courses dealing with philosophy, mathematics and the natural sciences.

However, the classification of madrasas as "universities" is disputed on the question of understanding of each institution on its own terms. In madrasas, the ijāzahs were only issued in one field, the Islamic religious law of , and in no other field of learning.:  Other academic subjects, including the natural sciences, philosophy and literary studies, were only treated "ancillary" to the study of the Sharia.Pedersen, J.; Rahman, Munibur; Hillenbrand, R. "Madrasa." Encyclopaedia of Islam, Second Edition. Edited by: P. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Brill, 2010, retrieved 20/03/2010:  For example, a natural science like astronomy was only studied (if at all) to supply religious needs, like the time for prayer. This is why Ptolemaic astronomy was considered adequate, and is still taught in some modern day madrasas. The Islamic law undergraduate degree from al-Azhar, the most prestigious madrasa, was traditionally granted without final examinations, but on the basis of the students' attentive attendance to courses.Jomier, J. "al- Azhar (al-Ḏj̲āmiʿ al-Azhar)." Encyclopædia of Islam, Second Edition. Edited by: P. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Brill, 2010  In contrast to the medieval doctorate which was granted by the collective authority of the faculty, the Islamic degree was not granted by the teacher to the pupil based on any formal criteria, but remained a "personal matter, the sole prerogative of the person bestowing it; no one could force him to give one".George Makdisi: "Madrasa and University in the Middle Ages", Studia Islamica, No. 32 (1970), pp. 255-264 (260): 

Medievalist specialists who define the university as a legally autonomous corporation disagree with the term "university" for the Islamic madrasas and jāmi‘ahs because the medieval university (from Latin universitas) was structurally different, being a legally autonomous corporation rather than a waqf institution like the madrasa and .Toby Huff, Rise of early modern science 2nd ed. (Cambridge University, 2003) p. 149. Despite the many similarities, medieval specialists have coined the term "Islamic college" for madrasa and  to differentiate them from the legally autonomous corporations that the medieval European universities were. In a sense, the madrasa resembles a university college in that it has most of the features of a university, but lacks the corporate element. Toby Huff summarises the difference as follows:  

As Muslim institutions of higher learning, the madrasa had the legal designation of waqf. In central and eastern Islamic lands, the view that the madrasa, as a charitable endowment, will remain under the control of the donor (and their descendant), resulted in a "spurt" of establishment of madrasas in the 11th and 12th centuries. However, in Western Islamic lands, where the Maliki views prohibited donors from controlling their endowment, madrasas were not as popular. Unlike the corporate designation of Western institutions of higher learning, the waqf designation seemed to have led to the exclusion of non-orthodox religious subjects such a philosophy and natural science from the curricula.C. E. Bosworth: Untitled review of "The Rise of Colleges. Institutions of Learning in Islam and the West by George Makdisi", Journal of the Royal Asiatic Society of Great Britain and Ireland, No. 2 (1983), pp. 304-305 The madrasa of al-Qarawīyīn, one of the two surviving madrasas that predate the founding of the earliest medieval universities and are thus claimed to be the "first universities" by some authors, has acquired official university status as late as 1947.Kevin Shillington: "Encyclopedia of African history", Vol. 1, New York: Taylor & Francis Group, 2005, , p. 1025 The other, al-Azhar, did acquire this status in name and essence only in the course of numerous reforms during the 19th and 20th century, notably the one of 1961 which introduced non-religious subjects to its curriculum, such as economics, engineering, medicine, and agriculture.Skovgaard-Petersen, Jakob. "al-Azhar, modern period. 1. From madrasa to university" Encyclopaedia of Islam, THREE. Edited by: Gudrun Krämer, Denis Matringe, John Nawas and Everett Rowson. Brill, 2010, retrieved 20/03/2010 Many medieval universities were run for centuries as Christian cathedral schools or monastic schools prior to their formal establishment as universitas scholarium; evidence of these immediate forerunners of the university dates back to the 6th century AD,Riché, Pierre (1978): "Education and Culture in the Barbarian West: From the Sixth through the Eighth Century", Columbia: University of South Carolina Press, , pp. 126-7, 282-98 thus well preceding the earliest madrasas. George Makdisi, who has published most extensively on the topicExtensive bibliography in: Pedersen, J.; Rahman, Munibur; Hillenbrand, R. "Madrasa." Encyclopaedia of Islam, Second Edition. Edited by: P. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel and W.P. Heinrichs. Brill, 2010, retrieved 20/03/2010 concludes in his comparison between the two institutions: 

Nevertheless, Makdisi has asserted that the European university borrowed many of its features from the Islamic madrasa, including the concepts of a degree and doctorate. Makdisi and Hugh Goddard have also highlighted other terms and concepts now used in modern universities which most likely have Islamic origins, including "the fact that we still talk of professors holding the 'chairman' of their subject" being based on the "traditional Islamic pattern of teaching where the professor sits on a chair and the students sit around him", the term 'academic circles' being derived from the way in which Islamic students "sat in a circle around their professor", and terms such as "having 'fellows', 'reading' a subject, and obtaining 'degrees', can all be traced back" to the Islamic concepts of  ('companions, as of Muhammad'),  ('reading aloud the Qur'an') and  ('licence [to teach]') respectively. Makdisi has listed eighteen such parallels in terminology which can be traced back to their roots in Islamic education. Some of the practices now common in modern universities which Makdisi and Goddard trace back to an Islamic root include "practices such as delivering inaugural lectures, wearing academic robes, obtaining doctorates by defending a thesis, and even the idea of academic freedom are also modelled on Islamic custom." The Islamic scholarly system of  and , meaning opinion and consensus respectively, formed the basis of the "scholarly system the West has practised in university scholarship from the Middle Ages down to the present day." According to Makdisi and Goddard, "the idea of academic freedom" in universities was also "modelled on Islamic custom" as practised in the medieval Madrasa system from the 9th century. Islamic influence was "certainly discernible in the foundation of the first deliberately planned university" in Europe, the University of Naples Federico II founded by Frederick II, Holy Roman Emperor in 1224.

However, all of these facets of medieval university life are considered by other scholars to be independent medieval European developments with no necessary Islamic influence.Cf. Lexikon des Mittelalters, J.B. Metzler, Stuttgart 1999, individual entries on: Baccalarius; Collegium; Disputatio; Grade, universitäre; Magister universitatis, Professor; Rector; Studia humanitatis; Universität Norman Daniel criticizes Makdisi for overstating his case by simply resting on "the accumulation of close parallels" while failing to point to convincing channels of transmission between the Muslim and Christian world.Norman Daniel: Review of "The Rise of Colleges. Institutions of Learning in Islam and the West by George Makdisi", Journal of the American Oriental Society, Vol. 104, No. 3 (Jul. - Sep., 1984), pp. 586-588 (586f.) Daniel also points out that the Arab equivalent of the Latin disputation, the taliqa, was reserved for the ruler's court, not the madrasa, and that the actual differences between Islamic fiqh and medieval European civil law were profound. The taliqa only reached Islamic Spain, the only likely point of transmission, after the establishment of the first medieval universities. Moroever, there is no Latin translation of the taliqa and, most importantly, no evidence of Latin scholars ever showing awareness of Arab influence on the Latin method of disputation, something they would have certainly found noteworthy. Rather, it was the medieval reception of the Greek Organon which set the scholastic sic et non in motion. Daniel concludes that resemblances in method had more to with the two religions having "common problems: to reconcile the conflicting statements of their own authorities, and to safeguard the data of revelation from the impact of Greek philosophy"; thus Christian scholasticism and similar Arab concepts should be viewed in terms of a parallel occurrence, not of the transmission of ideas from one to the other,Norman Daniel: Review of "The Rise of Colleges. Institutions of Learning in Islam and the West by George Makdisi", Journal of the American Oriental Society, Vol. 104, No. 3 (Jul. - Sep., 1984), pp. 586-588 (587) a view shared by Hugh Kennedy.Hugh Kennedy: Journal of the Royal Asiatic Society, Third Series, Vol. 2, No. 2 (1992), pp. 272-273 (272):  Toby Huff, in a discussion of Makdisi's hypothesis, argues:

George Saliba criticized Huff's views regarding the legal autonomy of European universities and limited curriculum of Madrasahs, demonstrating that there were many Madrasahs dedicated to the teaching of non-religious subjects and arguing that Madrasahs generally had greater legal autonomy than medieval European universities. According to Saliba, Madrasahs "were fully protected from interference in their curriculum by the very endowments that established them in the first place." Examples include the Dakhwariyya madrasah in Damascus, which was dedicated to medicine, a subject also taught at Islamic hospitals; the Madrasah established by Kamal al-Din Ibn Man`a (d. 1242) in Mosul which taught astronomy, music, and the Old the New Testaments; Ulugh Beg’s Madrasah in Samarqand which taught astronomy; and Shi`i madrasahs in Iran which taught astronomy along with religious studies. According to Saliba:

Female education

thumb|The medrese of the Atik Valide Mosque, part of a külliye sponsored by Nurbanu Sultan (wife of Ottoman sultan Selim II) and designed by imperial architect Mimar Sinan in 1571
Prior to the 12th century, women accounted for less than one percent of the world’s Islamic scholars. However, al-Sakhawi and Mohammad Akram Nadwi have since found evidence of over 8,000 female scholars since the 15th century. al-Sakhawi devotes an entire volume of his 12-volume biographical dictionary  to female scholars, giving information on 1,075 of them. More recently, the scholar Mohammad Akram Nadwi, currently a researcher from the Oxford Centre for Islamic Studies, has written 40 volumes on the  (the women scholars of hadith), and found at least 8,000 of them.

From around 750, during the Abbasid Caliphate, women "became renowned for their brains as well as their beauty".Doreen Insgrams (1983), The Awakened: Women in Iraq, p. 22, Third World Centre for Research and Publishing Ltd., Lebanon In particular, many well known women of the time were trained from childhood in music, dancing and poetry. Mahbuba was one of these. Another feminine figure to be remembered for her achievements was Tawaddud, "a slave girl who was said to have been bought at great cost by  because she had passed her examinations by the most eminent scholars in astronomy, medicine, law, philosophy, music, history, Arabic grammar, literature, theology and chess".Doreen Insgrams (1983), The Awakened: Women in Iraq, p. 23, Third World Centre for Research and Publishing Ltd., Lebanon Moreover, among the most prominent feminine figures was Shuhda who was known as "the Scholar" or "the Pride of Women" during the 12th century in Baghdad. Despite the recognition of women's aptitudes during the Abbasid dynasty, all these came to an end in Iraq with the sack of Baghdad in 1258.Anthony Nutting, The Arabs. (Hollis and Carter, 1964), p. 196

Women played an important role in the foundations of many Islamic educational institutions, such as Fatima al-Fihri's founding of the al-Qarawiyyin mosque in 859, which later developed into a madrasa. This continued through to the Ayyubid dynasty in the 12th and 13th centuries, when 160 mosques and madrasas were established in Damascus, 26 of which were funded by women through the Waqf (charitable trust) system. Half of all the royal patrons for these institutions were also women.

According to the Sunni scholar  in the 12th century, there were opportunities for female education in the medieval Islamic world, writing that women could study, earn ijazahs (academic degrees), and qualify as scholars and teachers. This was especially the case for learned and scholarly families, who wanted to ensure the highest possible education for both their sons and daughters. Ibn ʻAsakir had himself studied under 80 different female teachers in his time. Female education in the Islamic world was inspired by Muhammad's wives, such as Khadijah, a successful businesswoman, and 'A'isha, a strong leader and interpreter of the Prophet's actions. According to a hadith attributed both to Muhammad and 'A'isha, the women of Medina were praiseworthy because of their desire for religious knowledge:

While it was not common for women to enroll as students in formal classes, it was common for women to attend informal lectures and study sessions at mosques, madrasas and other public places. While there were no legal restrictions on female education, some men did not approve of this practice, such as Muhammad ibn al-Hajj (d. 1336) who was appalled at the behaviour of some women who informally audited lectures in his time:

The term  is often translated as 'that which is indecent', which usually meant the exposure of anything other than a woman's face and hands, although scholarly interpretations of the  and  have always tended to vary, with some more or less strict than others.

 Architecture 

 Architectural origins 
Madrasas were generally centered around an interior courtyard and the classical madrasa form generally featured four iwans (vaulted chambers open on one side) arranged symmetrically around the courtyard. The origin of this architectural model may have been Buddhist monasteries in Transoxiana (Central Asia), of which some early surviving remains demonstrate this type of layout. Another possible origin may have been domestic houses in the region of Khorasan. Practically none of the first madrasas founded under Nizam al-Mulk (Seljuk vizier between 1064 and 1092) have survived, though partial remains of one madrasa in Khargerd, Iran, include an iwan and an inscription attributing it to Nizam al-Mulk. Nonetheless, it is clear that the Seljuks constructed many madrasas across their empire within a relatively short period of time, thus spreading both the idea of this institution and the architectural models on which later examples were based.

 Evolution and spread across different regions 
 Seljuk Anatolia 
thumbnail|Ince Minaret Medrese (13th century) in Konya, now housing the Museum of Stone and Wood Art.|alt=In contrast to early Iranian Seljuk madrasas, a large number of madrasas from the Anatolian Seljuk Empire (between 1077 and 1308) have survived, and are the closest examples we have of Iranian-influenced early madrasa architecture. However, though each usually included a large central courtyard, their overall layouts were more variable and may have reflected more multi-purpose functions, often with an attached mausoleum, a minaret, and an ornate entrance portal. The courtyards were sometimes covered by a large dome (as with the Karatay Madrasa, founded in 1279, and other madrasas in Konya), reflecting an ongoing transition to domed Islamic buildings in Anatolia and later Ottoman architecture.

 Syria and Egypt 
left|thumb|Courtyard of the Nur al-Din Madrasa in Damascus, originally built in 1167 by Nur al-Din
thumb|Interior of the Madrasa-Mosque of Sultan Hasan (14th century) in Cairo|alt=
In Syria and the surrounding region, the earliest madrasas were often relatively small buildings, the earliest example of which is one in Bosra founded in 1136–37. Madrasa architecture in this region appears to have evolved out of Seljuk prototypes. Another early important example is the Madrasa of Nur al-Din from 1167. Under the Ayyubid dynasty madrasas began to take on added importance, with the first madrasa in Egypt (no longer extant) being built by Salah ad-Din (Saladin) in 1180 next to the Mausoleum of Imam al-Shafi'i in Cairo's Qarafa Cemetery. As with the earlier Seljuk madrasas, is likely that these foundations were motivated by a desire to counteract the influence of Isma'ili proselytism and propaganda efforts during the Fatimid Caliphate. Among the surviving Ayyubid madrasas in Egypt are the remains of the Madrasa of al-Kamil (founded by Sultan al-Kamil Ayyub in 1229) and the more important Madrasa al-Salihiyya founded by Sultan al-Salih Ayyub founded in 1242, to which was later attached al-Salih's mausoleum. In Syria, an exceptional example of a monumental madrasa from this period is the al-Firdaws Madrasa in Aleppo. Many more examples from this period, however, have not survived.

After the faltering of the Ayyubid dynasty and the transition to the Mamluk Sultanate around 1250, the Mamluks became eager patrons of architecture. Many of their projects involved the construction of madrasas as part of larger multi-functional religious complexes, usually attached to their personal mausoleums, which provided services to the general population while also promoting their own prestige and pious reputations. In Egyptian Mamluk architecture, which largely used stone, the madrasa layout generally had two prominent iwans which were aligned to the qibla and faced each other across a central courtyard, while two "lateral" iwans faced each across each on the other two sides of the courtyard. Prominent examples of these include the madrasa of the Sultan Qalawun complex (built in 1284–1285) and the neighbouring complex of his son al-Nasir Muhammad (finished in 1304). One exceptional madrasa, which also served as a mosque and was easily one of the most massive structures of its time, was the monumental Madrasa-Mosque of Sultan Hasan (built from 1356 to 1363), with a large central courtyard surrounded by four enormous iwans. While the unique Madrasa of Sultan Hasan provided instruction in all four Sunni legal schools of thought, most madrasas and mosques in Egypt followed the Shafi'i school. Moreover, due to the already dense urban fabric of Cairo, Mamluk architectural complexes adopted increasingly irregular and creatively designed floor plans to compensate for limited space while simultaneously attempting to maximize their prominence and visibility from the street.

While Mamluk architecture outside Cairo was generally of lesser quality and craftsmanship, there were nonetheless many examples. The Madrasa al-Zahiriyya in Damascus, which contains the mausoleum of Sultan Baybars I, is still essentially Ayyubid in style. The city of Tripoli in Lebanon also holds a concentration of Mamluk-era architecture, including madrasas. However, the most significant Mamluk archtiectural patronage outside of Cairo is likely in Jerusalem, including the major al-Ashrafiyya Madrasa on the Temple Mount (Haram al-Sharif), was rebuilt in its current form by Sultan Qaytbay in the late 15th century.

 Maghreb (North Africa) 
thumb|Courtyard of the Ben Youssef Madrasa (16th century) in Marrakesh
In northwestern Africa (the Maghrib or Maghreb), including Morocco, Algeria, and Tunisia, madrasas began to be constructed in the 13th century under the Marinid and Hafsid dynasties. In Tunisia (or Ifriqiya), the earliest Hafsid madrasa was the Madrasa al-Shamma'iyya founded in 1238 (or in 1249 according to some sources). In Morocco, the first madrasa was the Madrasa as-Saffarin built in Fes in 1271, followed by many others constructed around the country. The main architectural highlights among these are the Madrasa as-Sahrij (built in 1321–1328), the Madrasa al-Attarin (built in 1323–1325), and the Madrasa of Salé (completed in 1341), all of which are lavishly decorated with sculpted wood, carved stucco, and zellij mosaic tilework.  The Bou Inania Madrasa in Fes, distinguished itself from other madrasas by its size and by being the only madrasa which also officially functioned as a public Friday mosque. The Marinids also built madrasas in Algeria, particularly in Tlemcen.

In Morocco, madrasas were generally built in brick and wood and were still centered around a main internal courtyard with a central fountain or water basin, around which student dorms were distributed across one or two floors. A prayer hall or mosque chamber usually stood opposite the entrance on one side of the courtyard. The Bou Inania Madrasa in Fes also contained two side-chambers opening off the lateral sides of its courtyard, which may reflect an influence of the older four-iwan layout. However, most other Moroccan madrasas did not have this feature and the courtyards were instead flanked by ornate galleries. By contrast with Mamluk structures to the east, Moroccan and Maghrebi madrasas were not prominently distinguishable from the outside except for an ornate entrance portal decorated with carved wood and stucco. This model continued to be found in later madrasas like the Ben Youssef Madrasa of the 16th century in Marrakesh.

 Iran, Iraq, and Central Asia 
thumb|Courtyard of the Ulugh Beg Madrasa (15th century) in Samarkand
Very few if any formal madrasas from before the Mongol invasions have survived in Iran. One exception is the Mustansiriyya Madrasa in Baghdad, which dates from 1227 and is also the earliest "universal" madrasa, which is to say the first madrasa that taught all four Sunni maddhabs (legal schools of thought). Later, the Mongol Ilkhanid dynasty and the many dynasties that followed them (e.g. the Timurids and Safavids) nonetheless built numerous monumental madrasas, many of which are excellent examples of Iranian Islamic architecture. In some cases, these madrasas were directly attached and integrated into larger mosques, as with those attached to the Shah Mosque in Isfahan (17th century). In other cases they were built as more or less separate entities, such as with the Chahar Bagh Madrasa (also in Isfahan, 17th-18th centuries), or the 15th-century Timurid Ulugh Beg Madrasa and two other monumental 17th-century madrasas at the Registan complex in Samarkand. 

The form of the madrasa does not appear to have changed significantly over time in this region. The Timurid period (late 14th and 15th century), however, was a "golden age" of Iranian madrasas, during which the four-iwan model was made much larger and more monumental, on a par with major mosques, thanks to intense patronage from Timur and his successors. Madrasas in the Iranian architectural tradition continued to be centered around a large square or rectangular courtyard with a central water basin and surrounded by a one or two-story arcade. Either two or four large iwans stood at the ends of the central axes of the courtyard.

 Ottoman Empire 
thumb|The Salis Medrese, part of the Süleymaniye complex (16th century) in Istanbul
Ottoman architecture evolved out of its Anatolian Seljuk predecessors into a particular style. In the classical Ottoman period (15th-16th centuries), the typical form of the madrasa had become a large courtyard surrounded by an arched gallery covered by a series of domes, similar to the sahn (courtyard) of imperial mosques. Madrasas were generally limited to a main ground floor, and were often built as auxiliary buildings to a central mosque which anchored a külliye or charitable complex. This marked a certain departure from other madrasa styles as it emphasized the feeling of space for its own sake instead of focusing on the practical function of housing as many students as possible within a small area. This is evident in the külliye complex of Mehmet II Fatih, which included 16 madrasa buildings arranged symmetrically around the Fatih Mosque. The Süleymaniye complex, often considered the apogee of Ottoman architecture, included four madrasas as part of a vast and carefully designed architectural ensemble at the top of one of Istanbul's highest hills.

Madrasas by region
Ottoman Empire
thumbnail|right|Şemsi Pasha Mosque and medrese (1580) in Üsküdar, Istanbul
"The first Ottoman Medrese was created in İznik in 1331 and most Ottoman medreses followed the traditions of Sunni Islam." "When an Ottoman sultan established a new medrese, he would invite scholars from the Islamic world—for example, Murad II brought scholars from Persia, such as ʻAlāʼ al-Dīn and Fakhr al-Dīn who helped enhance the reputation of the Ottoman medrese". This reveals that the Islamic world was interconnected in the early modern period as they travelled around to other Islamic states exchanging knowledge. This sense that the Ottoman Empire was becoming modernised through globalization is also recognised by Hamadeh who says: "Change in the eighteenth century as the beginning of a long and unilinear march toward westernisation reflects the two centuries of reformation in sovereign identity."
İnalcık also mentions that while scholars from for example Persia travelled to the Ottomans in order to share their knowledge, Ottomans travelled as well to receive education from scholars of these Islamic lands, such as Egypt, Persia and Turkestan. Hence, this reveals that similar to today's modern world, individuals from the early modern society travelled abroad to receive education and share knowledge and that the world was more interconnected than it seems. Also, it reveals how the system of "schooling" was also similar to today's modern world where students travel abroad to different countries for studies. Examples of Ottoman madrasas are the ones built by Mehmed the Conqueror. He built eight madrasas that were built "on either side of the mosque where there were eight higher madrasas for specialised studies and eight lower medreses, which prepared students for these." The fact that they were built around, or near mosques reveals the religious impulses behind madrasa building and it reveals the interconnectedness between institutions of learning and religion. The students who completed their education in the lower medreses became known as danismends. This reveals that similar to the education system today, the Ottomans' educational system involved different kinds of schools attached to different kinds of levels. For example, there were lower madrasas and specialised ones, and for one to get into the specialised area meant that he had to complete the classes in the lower one in order to adequately prepare himself for higher learning.

This is the rank of madrasas in the Ottoman Empire from the highest ranking to the lowest: (From İnalcık, 167).
 Semniye
 Darulhadis
 Madrasas built by earlier sultans in Bursa.
 Madrasas endowed by great men of state.

Although Ottoman madrasas had a number of different branches of study, such as calligraphic sciences, oral sciences, and intellectual sciences, they primarily served the function of an Islamic centre for spiritual learning. "The goal of all knowledge and in particular, of the spiritual sciences is knowledge of God." Religion, for the most part, determines the significance and importance of each science. As İnalcık mentions: "Those which aid religion are good and sciences like astrology are bad."
However, even though mathematics, or studies in logic were part of the madrasa's curriculum, they were all primarily concerned with religion. Even mathematics had a religious impulse behind its teachings. "The Ulema of the Ottoman medreses held the view that hostility to logic and mathematics was futile since these accustomed the mind to correct thinking and thus helped to reveal divine truths" – key word being "divine". İnalcık also mentions that even philosophy was only allowed to be studied so that it helped to confirm the doctrines of Islam." Hence, madrasas – schools were basically religious centres for religious teachings and learning in the Ottoman world. Although scholars such as Goffman have argued that the Ottomans were highly tolerant and lived in a pluralistic society, it seems that schools that were the main centres for learning were in fact heavily religious and were not religiously pluralistic, but rather Islamic in nature. Similarly, in Europe "Jewish children learned the Hebrew letters and texts of basic prayers at home, and then attended a school organised by the synagogue to study the Torah."Wiesner-Hanks, E. Merry. Early Modern Europe 1450–1789. New York: U of Cambridge P, 2006. Wiesner-Hanks also says that Protestants also wanted to teach "proper religious values." This shows that in the early modern period, Ottomans and Europeans were similar in their ideas about how schools should be managed and what they should be primarily focused on. Thus, Ottoman madrasas were very similar to present day schools in the sense that they offered a wide range of studies; however, these studies, in their ultimate objective, aimed to further solidify and consolidate Islamic practices and theories.

Curricula
As is previously mentioned, religion dominated much of the knowledge and teachings that were endowed upon students. "Religious learning as the only true science, whose sole aim was the understanding of God's word." Thus, it is important to keep this impulse in mind when going over the curriculum that was taught.

The following is taken from İnalcık.
 A) Calligraphic sciences—such as styles of writing.
 B) Oral sciences—such as Arabic language, grammar and syntax.
 C) Intellectual sciences—logic in Islamic philosophy.
 D) Spiritual sciences—theoretical, such as Islamic theology and mathematics; and practical, such as Islamic ethics and politics.

Social life and the medrese
As with any other country during the Early Modern Period, such as Italy and Spain in Europe, the Ottoman social life was interconnected with the medrese. Medreses were built in as part of a Mosque complex where many programmes, such as aid to the poor through soup kitchens, were held under the infrastructure of a mosque, which reveals the interconnectedness of religion and social life during this period. "The mosques to which medreses were attached, dominated the social life in Ottoman cities."Goffman, Daniel. The Ottoman Empire and Early Modern Europe. United Kingdom: U of Cambridge P, 2002. Social life was not dominated by religion only in the Muslim world of the Ottoman Empire; it was also quite similar to the social life of Europe during this period. As Goffman says: "Just as mosques dominated social life for the Ottomans, churches and synagogues dominated life for the Christians and Jews as well." Hence, social life and the medrese were closely linked, since medreses taught many curricula, such as religion, which highly governed social life in terms of establishing orthodoxy. "They tried moving their developing state toward Islamic orthodoxy." Overall, the fact that mosques contained medreses comes to show the relevance of education to religion in the sense that education took place within the framework of religion and religion established social life by trying to create a common religious orthodoxy. Hence, medreses were simply part of the social life of society as students came to learn the fundamentals of their societal values and beliefs.

 Maghreb 
thumb|Courtyard of the Bou Inania Madrasa in Fes
In northwestern Africa (the Maghrib or Maghreb), including Morocco, Algeria, and Tunisia, the appearance of madrasas was delayed until after the fall of the Almohad dynasty, who espoused a reformist doctrine generally considered unorthodox by other Sunnis. As such, it only came to flourish in the region in the 13th century, under the Marinid and Hafsid dynasties which succeeded them. In Tunisia (or Ifriqiya), the earliest Hafsid madrasa was the Madrasat al-Ma'raḍ, founded in Tunis in 1252 and followed by many others. In Morocco, the first madrasa was the Madrasa as-Saffarin built in Fes in 1271, followed by many others constructed around the country.Kubisch, Natascha (2011). "Maghreb - Architecture" in Hattstein, Markus and Delius, Peter (eds.) Islam: Art and Architecture. h.f.ullmann. The Marinids also built madrasas in Algeria, particularly in Tlemcen.

As elsewhere, rulers in the Maghreb built madrasas to bolster their political legitimacy and that of their dynasty. The Marinids used their patronage of madrasas to cultivate the loyalty of Morocco's influential but independent religious elites and also to portray themselves to the general population as protectors and promoters of orthodox Sunni Islam. Madrasas also served to train the scholars and educated elites who generally operated the state bureaucracy. A number of madrasas also played a supporting role to major learning institutions like the older Qarawiyyin Mosque-University and the al-Andalusiyyin Mosque (both located in Fes) because they provided accommodations for students coming from other cities. Many of these students were poor, seeking sufficient education to gain a higher position in their home towns, and the madrasas provided them with basic necessities such as lodging and bread. However, the madrasas were also teaching institutions in their own right and offered their own courses, but usually with much narrower and more limited curriculums than the Qarawiyyin. The Bou Inania Madrasa in Fes, distinguished itself from other madrasas by its size and by being the only madrasa which also officially functioned as a public Friday mosque.

While some historical madrasas in Morocco remained in use well into the 20th century, most are no longer used for their original purpose following the reorganization of the Moroccan education system under French colonial rule and in the period following independence in 1956. Likewise, while some madrasas are still used for learning in Tunisia, many have since been converted to other uses in modern times.

 South Asia 
thumb|Alauddin Khalji's Madrasa, Qutb complex, built in the early-14th century in Delhi, India.|alt=

Bangladesh
There are three different madrasa education systems in Bangladesh: the original darse nizami system, the redesigned nizami system, and the higher syllabus alia nisab. The first two categories are commonly called Qawmi or non-government madrasas. Amongst them the most notable are Al-Jamiatul Ahlia Darul Ulum Moinul Islam in Hathazari, Al-Jamiah Al-Islamiah Patiya, in Patiya, and Jamia Tawakkulia Renga Madrasah in Sylhet.

In 2006 there were 15,000 registered Qawmi madrasas with the Befaqul Mudarressin of Bangladesh Qawmi Madrasah Education Board, though the figure could be well over double that number if unregistered madrasas were counted.Ahmed, Samina. Testimony of Samina Ahmed to U.S. Senate Foreign Relations Committee . 19 Apr 2005.

India
thumbnail|Quvvathul Islam Senior Madrassa, Taliparamba, India 
thumb|This is a madarasa of the Jamia Masjid mosque in Srirangapatna, India. This mosque dates back to the 1700s and is where Tipu Sultan used to pray.

In 2008, India's madrassas were estimated to number between 8000 and 30,000, the state of Uttar Pradesh hosting most of them, estimated by the Indian government to have 10,000 of those back then.Nair, Padmaja (2009) The State and Madrasas in India. Working Paper. University of Birmingham, Birmingham, UK, p. 18

The majority of these schools follow the Hanafi school of thought. The religious establishment forms part of the mainly two large divisions within the country, namely the Deobandis, who dominate in numbers (of whom the Darul Uloom Deoband constitutes one of the biggest madrasas) and the Barelvis, who also make up a sizeable portion (Sufi-oriented). Some notable establishments include: Aljamea-tus-Saifiyah (Isma'ilism), Al Jamiatul Ashrafia, Mubarakpur, Manzar Islam Bareilly, Jamia Nizamdina New Delhi, Jamia Nayeemia Muradabad which is one of the largest learning centres for the Barelvis. The HR ministry of the government of India has recently declared that a Central Madrasa Board would be set up. This will enhance the education system of madrasas in India. Though the madrasas impart Quranic education mainly, efforts are on to include Mathematics, Computers and science in the curriculum.

In July 2015, the state government of Maharashtra created a stir de-recognised madrasa education, receiving criticism from several political parties with the NCP accusing the ruling BJP of creating Hindu-Muslim friction in the state, and Kamal Farooqui of the All India Muslim Personal Law Board saying it was "ill-designed"

 Expansion 
After the establishment of the British Raj and the emergence of Darul Ulum Manazar-e Islam Bareilly Sharif, Indian Muslim Scholars left India to establish madrasas in other regions of the world. Some of the most notable of these madrasas are Darul Ulum Holocombe, which produced scholars such as Shaikh Ibrahim Memon Madani, or Darul Uloom Al-Madania. These offshoot schools symbolise an emotional drive based upon both religion and patriotism that is not evident elsewhere.

 In Kerala 

Most of the Muslims of Kerala follow the traditional Shāfiʿī school of religious law (known in Kerala as the traditionalist 'Sunnis') while a large minority follow modern movements that developed within Sunni Islam.Miller, E. Roland. "Mappila Muslim Culture" State University of New York Press, Albany (2015); p. xi.Miller, R. E. "Mappila" in The Encyclopedia of Islam Volume VI. Leiden E. J. Brill 1988 p. 458-66  The latter section consists of majority Salafists (the Mudjahids) and the minority Islamists (political Islam).

 A 'madrasa' in Kerala refers to institution where children receive basic Arabic language and (Islamic) religious instruction.OSELLA, FILIPPO, and CAROLINE OSELLA. “Islamism and Social Reform in Kerala, South India.” Modern Asian Studies, vol. 42, no. 2-3, 2008, pp. 317–346., doi:10.1017/S0026749X07003198.
 The so-called 'Arabic Colleges' of Kerala are the equivalent of north Indian madrasas.

Pakistan

thumb|Madrasa e Faizan e Madina in Karachi, Pakistan
The madrasas rose as colleges of learning in the Islamic world in the 11th century, though there were institutions of learning earlier. They catered not only to the religious establishment, though that was the dominant influence over them, but also the secular one. To the latter they supplied physicians, administrative officials, judges and teachers. Today many registered madrasas are working effectively and coping up with modern education system such as Jamia-tul-Madina which is a chain of Islamic schools in Pakistan and in European and other countries established by Dawat-e-Islami. The Jamia-tul-Madina are also known as Faizan-e-Madina. Dawat-e-Islami has grown its network of madrasas from Pakistan to Europe.

Southeast Asia
In Southeast Asia, Muslim students have a choice of attending a secular government or an Islamic school. Madrasas or Islamic schools are known as Sekolah Agama () in Malaysia and Indonesia, โรงเรียนศาสนาอิสลาม () in Thailand and madaris in the Philippines. In countries where Islam is not the majority or state religion, Islamic schools are found in regions such as southern Thailand (near the Thai-Malaysian border) and the southern Philippines in Mindanao, where a significant Muslim population can be found.

Indonesia

Singapore

thumb|Students of Madrasah Aljunied Al-Islamiah in Singapore
In Singapore, madrasahs are private schools which are overseen by Majlis Ugama Islam Singapura (MUIS, Islamic Religious Council of Singapore). There are six Madrasahs in Singapore, catering to students from Primary 1 to Secondary 4 (and junior college equivalent, or "Pre-U", at several schools). Four Madrasahs are coeducational and two are for girls. Students take a range of Islamic Studies subjects in addition to mainstream MOE curriculum subjects and sit for the PSLE and GCE 'O' Levels like their peers. In 2009, MUIS introduced the "Joint Madrasah System" (JMS), a joint collaboration of Madrasah Al-Irsyad Al-Islamiah primary school and secondary schools Madrasah Aljunied Al-Islamiah (offering the ukhrawi, or religious stream) and Madrasah Al-Arabiah Al-Islamiah (offering the academic stream). The JMS aims to introduce the International Baccalaureate (IB) programme into the Madrasah Al-Arabiah Al-Islamiah by 2019. Students attending a madrasah are required to wear the traditional Malay attire, including the songkok for boys and tudong for girls, in contrast to mainstream government schools which ban religious headgear as Singapore is officially a secular state. Students who wish to attend a mainstream school may opt to take classes on weekends at the madrasah instead of enrolling full-time.

Philippines

In 2004, madrasas were mainstreamed in 16 Regions nationwide, primarily in Muslim-majority areas in Mindanao under the auspices of the Department of Education (DepEd). The DepEd adopted Department Order No. 51, which instituted Arabic-language and Islamic Values instruction for Muslim children in state schools, and authorised implementation of the Standard Madrasa Curriculum (SMC) in private-run madrasas. While there are state-recognised Islamic schools, such as Ibn Siena Integrated School in the Islamic City of Marawi, Sarang Bangun LC in Zamboanga and SMIE in Jolo, their Islamic studies programmes initially varied in application and content.

Since 2005, the AusAID-funded DepEd project Basic Education Assistance for Mindanao (BEAM) has assisted a group of private madrasas seeking a Permit To Operate from the government and implement the SMC. These private madrasas are scattered throughout Regions XI, XII and the Autonomous Region in Muslim Mindanao.

Western countries
thumb|A Muslim kindergarten in Yangzhou, China

South Africa
In South Africa, the madrasas also play a social and cultural role in giving after-school religious instruction to children of Muslims who attend government or private non-religious schools. However, increasing numbers of more affluent Muslims' children attend fully-fledged private Islamic schools, which combine secular and religious education. Among Muslims of Indian origin, madrasas also used to provide instruction in Urdu, although this is far less common today than it used to be.

 Canada 

The first Madressa established in North America, Al-Rashid Islamic Institute, was established in Cornwall, Ontario in 1983 and has graduates who are Hafiz (Quran) and Ulama. The seminary was established by Mazhar Alam under the direction of his teacher the leading Indian Tablighi scholar Muhammad Zakariya Kandhlawi and focuses on the Hanafi school of thought. Due to its proximity to the US border city of Messina the school has historically had a high ratio of US students. Their most prominent graduate Shaykh Muhammad Alshareef completed his Hifz in the early 1990s then went on to form the AlMaghrib Institute.

United States
On May 26, 2012, Congressman André Carson of Indiana called for additional madrasas in the United States. There is a madrassa in Queens, NY called Shia Ithna-Asheri Jamaat of New York.    Presently, the Darul Uloom in New York City, an affiliate of Darul Uloom Haqqania in Pakistan, also serves as a madrassa.

Common misconceptions
In the Arabic language, the word madrasa (مدرسه) means any educational institution, of any description, (as does the term school in American English)https://context.reverso.net/translation/arabic-english/%D9%85%D8%AF%D8%B1%D8%B3%D9%87 and does not imply a political or religious affiliation, not even one as broad as Islam in the general sense. Madrasas often have varied curricula. Some madrasas in India, for example, have a secularised identity.  Although early madrasas were founded primarily to gain "knowledge of God" they also taught subjects such as mathematics and poetry. For example, in the Ottoman Empire, "Madrasahs had seven categories of sciences that were taught, such as: styles of writing, oral sciences like the Arabic language, grammar, rhetoric, and history and intellectual sciences, such as logic." This is similar to the Western world, in which universities began as institutions of the Catholic church.

The Yale Center for the Study of Globalization examined bias in United States newspaper coverage of Pakistan since the September 11, 2001 attacks, and found the term has come to contain a loaded political meaning:

When articles mentioned "madrassas," readers were led to infer that all schools so-named are anti-American, anti-Western, pro-terrorist centres having less to do with teaching basic literacy and more to do with political indoctrination.

Various American public figures have, in recent times, used the word in a negative context, including Newt Gingrich,
Donald Rumsfeld, and Colin Powell.
The New York Times published in January 2007 a correction for misusing the word "madrassa" in a way that assumed it meant a radical Islamic school. The correction stated:

An article [...] about a pointed exchange [...] over a Web site report that said Senator Barack Obama had attended an Islamic school or madrassa in Indonesia as a child referred imprecisely to madrassas. While some [madrassas] teach a radical version of Islam, most historically have not.

See also

Bias in education
Education in Islam
 Beth midrash and Yeshiva—Jewish religious schooling
 Dars-e Nizamiyyah—most common madrasa curriculum in South Asia
 Darul uloom—another similar type of Islamic school
Education in Mali
 Hawza—used in Shi'a Islam  Islamic architecture
 Islamic studies
 List of Islamic seminaries
 List of oldest madrasahs in continuous operation
 Maktab
 Zawiya

 References 
 Citations 

 Sources 
 Esplanada, Jerry E. (2009-07-20). "Mainstreaming Madrasa. The Philippine Daily Inquirer." Retrieved 2010-11-25.

Further reading
 Sultan Ali of Sawabi. Madrasah Reform and State Power in Pakistan (2012)
 Ali, Saleem H. "Islam and Education: Conflict and Conformity in Pakistan's Madrassas", Oxford University Press, 2009. 
 Evans, Alexander. "Understanding Madrasahs", Foreign Affairs, Jan/Feb 2006.
 Malik, Jamal (ed.). Madrasas in South Asia: Teaching Terror?. London and New York: Routledge, 2008.
 Malik, Jamal. Colonialization of Islam: Dissolution of Traditional Institutions in Pakistan. New Delhi: Manohar Publications, and Lahore: Vanguard Ltd., 1996.
 Rahman, Tariq. Denizens of Alien Worlds: A Study of Education, Inequality and Polarization in Pakistan. Karachi: Oxford University Press, 2004. Reprinted 2006. . Chapter on "Madrassas".
 Tanweer, Bilal. "Revisiting the Madrasa Question". The News International, 6 May 2007. About a talk given by Dr. Nomanul Haq (University of Pennsylvania) at the Lahore University of Management Sciences (LUMS), Pakistan.
 Ziad, Waleed. . Reprinted from The News, March 21, 2004.
 Madrasa Education in India

External links

 
Category:Arabic architecture
Category:Arabic words and phrases
Category:Arabic words and phrases in Sharia
Category:Arab inventions
Category:Education terminology
Category:School types
Category:Law schools
Category:Islamic architecture
Category:Islamic education
Category:Islamic terminology
Category:Deobandi
Category:Ribats