With the help of the son of Sayyid Muhammad Mehdi al-Shahristani (d. 1801), he combined the mosque that headquartered the Sunni mufti of Karbala with the grand courtyard, forcing the garrison of Karbala, Amin Agha Turk[7], to relocate the mufti to the small courtyard also known as the Buyid graveyard.[2]