The complex of Amir Salar and Amir Sanjar al-Jawili was built in 1303-4 by Amir Sanjar al-Jawili, a powerful amir during the reign of al-Nasir Muhammad. It was intended to house, in addition to his madrasa, a mausoleum for himself and one for his longtime friend Amir Salar. The two contiguous burial chambers are each covered by a ribbed, pointed brick dome. As a token of love and respect, Sanjar distinguished the mausoleum of his companion with a larger dome and more decoration.
The adjoining religious foundation, which consists of a rectangular, single-iwan courtyard surrounded on the other sides by cells, most likely served as a khanqah whose curriculum included courses in theology and Shafi'i law. The large iwan is faced by a minute iwan across the courtyard. The vestibule behind the two mausolea is covered by possibly the earliest example of a stone dome in Cairo. The two mausolea along with this domed vestibule and the cross-vaulted corridor that leads from the madrasa-khanqah to this funerary section are oriented towards Mecca, but the madrasa-khanqah is not.
The layout of the whole complex is an interesting juxtaposition of two patterns within the same foundation, with one set askew to the other. Such a juxtaposition is unusual among Cairene medieval monuments, where a divergence between patterns within a religious foundation is the result of reconciling the street alignment with the foundation, with its two parts, the institutional (i.e., mosque, madrasa, or khanqah) and funerary, both oriented towards Mecca.
The square-octagonal-circular minaret is a composition that later becomes standard in Mamluk minarets. It is one of only two extant minarets with a portal at the staircase entrance from the roof of the foundation.
The piercing and carving technique, usually applied to stucco window grilles, is employed here to produce stone screens for the first time in Cairene architecture.