The mosque was originally a structure made from mud brick and clay. In the years 1940, 1950, and finally, 1968, the mosque was completely rebuilt with brick, while maintaining the same layout and certain details of the original building.[2] A minaret was added to the mosque in 1880 under the orders of Sultan Abdul Hamid II.[2]Haji Kaka Ahmad opened a cafeteria next to the mosque to serve food during an economic crisis in 1820.[1] He died in 1887 and was buried in a corner of the mosque, and that corner was developed into his shrine.[4]
The mosque is entered from the northern portal which leads into the courtyard. Then, on the northern side of the mosque a long hallway is present.[2] There is also a prayer hall for the season of summer. On the left of this prayer hall is a room for religious teachers, as well as a large library that contains valuable religious books.[2] The main prayer hall of the mosque was expanded while following an architectural design in a classical Islamic style, whilst at the same time evoking the old style of the former mud brick structure, with Qur'anic verses on its facade.[2]
Next to the prayer hall is a pathway leading to the royal mausoleum of the Baban family. It is topped by a dome.[2] The tomb of Haji Kaka Ahmad and his grandson, Mahmud Barzanji, is located within the mosque in a room at one of the corners, and a zarih is built around his grave.[2]
Usage
The mosque is still used for daily prayers. The cafeteria in the mosque is still active, and it serves meals to those in need.[1] It also serves food for iftar during the holy month of Ramadan.[1] Currently, the mosque is supervised by Muhammad Shaykh Salar, who is a grandson of Haji Kaka Ahmad.[1]