It was founded in 1323 by Abu al-Hassan and adjoins the larger Sahrij Madrasa, which was founded just before it.[1] Together, the two madrasas served to teach and lodge students in the vicinity of the main mosque.[2][3][4]