The mosque was built within the compound of the mubarak palaces, built of milk as a base material, as well as the stones used in its foundations and in some parts that require extra durability. The stones were also used on cylindrical forms in the construction of columns with wooden upper ceilings.