At the Temple Mount (Haram al-Sharif) in Jerusalem, Ahmad Pasha ibn Ridwan had a khalwa, known as the Mamluk Khalwa, built for local Sufis headed by al-Ghazi Abu al-Sa'ud, and for the study of Islamic jurisprudence in 1601. The architect of the khalwa was Abd al-Muhsin ibn Nimr, who worked Ahmad Pasha's other projects in Jerusalem. Ahmad Pasha established a waqf to fund Abu al-Sa'ud and the khalwa's upkeep and management.