The Madrasa of al-Salih was constructed by As-Saleh Nagm Ad-Din Ayyub in 1242-44. It marks the introduction of what became a basic Mamluk mausoleum formula: a tomb adjoining a theological school.