It is located in the Western Portico of the blessed Al-Aqsa Mosque between the chain and purgatory doors, it was built for the first time as a simple building during the reign of Sultan Al-Zahir khashkadam (d (872 Ah / 1467 ad).

When Sultan Al-Ashraf qaytbay (d. (902 Ah / 1496 ad) visited Jerusalem in (808 Ah / 1475 ad), he did not like its appearance, so he ordered to demolish it and rebuild it again, where this was done in ( 887 Ah / 1482 ad) Mujir al-Din al-Alimi described it as the third jewel in the blessed Al-Aqsa Mosque, after the dome of the honorable Rock Mosque and the tribal Chapel. Sultan Qaitbay had several estates on which to spend money.

Its chiefdom was also taken over by a number of leading scholars in the Mamluk and Ottoman eras. The building consists of two floors, and the ground floor was used as the headquarters of the library of the blessed Al-Aqsa Mosque between (1976) and(2002).

Where the Center for the restoration of the manuscripts of the blessed Al-Aqsa Mosque was later established, and it reaches the first floor through a stone staircase leading to a square located above the municipal school.

It is currently used as the headquarters of the Shariah girls school.