The Khanqah-e-Moula became the first mosque to be built in Srinagar and stands atop the ruins of the authentic Kalleshwari Temple. The mosque changed into constructed by muslim ruler Sikandar Butshikan throughout the Islamic occupation of Jammu and Kashmir in reminiscence of the preacher Mir Syed Ali Hamdani. Also known as Shah Hamadan, the preacher came to Kashmir from the metropolis of Hamadan in Persia in the thirteenth century. He is thought to be accountable for the unfold of Islam in Kashmir. The Shah stayed in Kashmir for many years and then left for Central Asia through Ladakh.
However, it's miles believed that Shah Hamdan’s son, Mir Mohammad really constructed the shrine. In 1480 AD, the shrine become destroyed because of fireplace. The then ruler, Sultan Hassan Shah, accelerated its premises and rebuilt it. In 1731 AD, the Khanqah become again destroyed with the aid of fire and then rebuilt by using Abdul Barkat Khan. According to Hindu beliefs and ancient sources, this current mosque structure was constructed after destroying an historic and famous temple devoted to Hindu goddess Kali and a sacred Hindu site.