 In March 1422, under the reign of Sultan al-Ashraf Barsbay, the building was turned into a Friday mosque (for which it was already well-suited, given its qibla alignment).Part of the foundation's failure to serve its intended function may be due to a lack of information and instructions outlined in the documents of its "waqf" (a charitable trust in Islamic law).The waqf document briefly described the maristan but provided no instructions for how the space should be used, what services should be offered, or what staff should operate it (in contrast with the highly detailed waqf documents of Qalawun's older maristan, which continued to operate even up to modern times).