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.
Answer in sentence: yes