Maulana al-Imam al-Hakim bi Amr Allah SA commissioned the construction of the masjid, al-Lu’luah in 406 AH/ 1015-16 CE.
Explaining the virtues of Maulana al-Imam al-Hakim’s SA piety, his erudite Da’i par excellence, al-Dai al-Ajal Syedna Ahmed Hamiduddin al-Kirmani RA states:
For evidence of Maulana al-Imam al-Hakim’s SA abstinence and piety, one need only look to how Imam SA comprehensively abstains from seizing the wealth of the people and expropriating what is not his to take. Often, foreigners, even locals, pass away without their heirs present and leave behind their possessions. However, no avarice can sway the Imam’s intentions and nothing can compel him to take on the folly of oppressing women and men by appropriating their riches. Instead, Imam Hakim SA has ordained that the possessions of those who die without heirs be placed in the Repository of Entrusted Deposits that his laudable sense of justice has commissioned, solely to safeguard the property of Muslims. He has also instructed his officials to search for any lawful inheritors and deliver their inheritance to them.