qnli question: How long did it take for madaris to spread to smaller cities and towns? sentence: Within several centuries, the development of Muslim educational institutions such as the madrasah and masjid eventually introduced such activities to provincial towns and dispersed them across the Islamic legal schools and Sufi orders.