The Mamluk amir Yalbugha al-Salimi restored the mosque in 1393[1] or 1397[2] and added a minaret (which collapsed in 1412 and was later restored) as well as shop stalls to the right of the entrance. Al-Salimi also restored or replaced the minbar, the mihrab, and the ablutions area.[3]