There was a thatched roof near Ghiyaspur where Hzt. Nizamuddin Aulia used to live with his disciples. Had any devotee expressed his wish to build a Khanqah (monastery), he would forbid him. One day a very close disciple of Hzt. Nizamuddin Aulia named Ziauddin Vakil Imadulmulk expressed the same desire but he forbade him too. At last when he sent an application through the medium of Hzt. Khawaja Abu Bakar Chishty, Hzt. Khawaja Iqbal and Hzt. Mohd Kirmani to the spiritual court of Hzt. Nizamuddin Aulia, he replied: “O Ziauddin; there is a mystery behind the construction of Khanqah. The reason why I forbid everyone is that as per the nature of this place whosoever will build the Khanqah at this place, will die”. Ziauddin fell at Hzt. Nizamuddin Aulia’s feet and said, “I consider you and your companions’ comfort more than my own life”.
On hearing this Hzt. Nizamuddin Aulia was greatly moved and gave him permission but what he predicted did come true. When Ziauddin got the Khanqah constructed, he raised a sum of 400 gold coins for its inauguration with an assembly of Sama (Qawwalli). But no sooner the Sama began then Ziauddin got feverish and could not attend the majlis and passed away. This Khanqah is situated near which the tomb of Humayun was later constructed.