A popular legend narrated is of Iltumish's dream in which Muhammad directed him to build a reservoir at a particular site. When Iltumish inspected the site the day after his dream, he reported to have found a hoof print of Muhammad's horse. He then erected a pavilion to mark the sacred location and excavated a large tank around the pavilion to harvest rain water. According to Sharma: "A red stone domed pavilion resting on twelve pillars located near the south-western corner of the tank, but originally believed to have been situated in its centre, is identified with the pavilion built by Iltumish. The original stone with hoof print is believed to have been removed, the present stone being a later renewal. The waters of the tank are regarded as sacred, and several graves of Muslim saints lie around it." Another version of the legend linked is that Muhammad appeared in a dream not only to Iltumish but also to the Muslim sufi saint KhawajaQutbuddin Bakhtiar Kaki indicating the same particular location, where the hoof print of Muhammad's horse was imprinted, for the construction of a water tank. Since drinking water supply was acute in the newly founded capital of Iltumish a tank was dug at the location indicated in the dream, which resulted in water jetting out from a spring source. It was, thereafter, named as Hauz-i-Shamsi, and Khawaja, the saint who divined it, came to be known as Qutbuddin Bakhtiar Kaki or simply 'Kaki'. The name Kaki was attributed to him by virtue of this keramat. The Khawaja died in 1235 AD. He is buried in Mehrauli and it is inferred that Qutub Minar was also named after him. His dargah or tomb is considered one of India's oldest and revered shrines. His exalted divinity has also been extolled by Moinuddin Chishti who had said:
Kaki was such an exalted divine person that even Moinuddin Chishti had decreed that those coming to seek his blessing should first pay homage to the former. The practice is still adhered to.
Reservoir
Hauz-i-Shamsi originally covered an area of. The domed pavilion constructed by Iltumish to mark the foot print Muhammad's horse located in the middle of the tank is a double storeyed structure made of red sandstone supported on twelve pillars. It could be approached only by boat. The original stone, on which the foot print of the horse of Muhammad was imprinted, was located at this pavilion. It has since been removed but replaced by a new one. In view of its religious significance, the water stored in the tank was considered sacred. Many famous emperors and saints have been buried on the periphery of the reservoir. Because of reduction in the size of the reservoir over the years, due to encroachments and siltation, pavilion's present location is seen in the eastern edge of the tank. ;Jharna A Jharna or water fall emanating from the Hauz-i-Shamsi is located close to the Jahaz Mahal. It is identified as a significant water structure that had been developed by Nawab Ghaziuddin around 1700 AD as a pleasure garden during the Mughal rule. An underground pipe supplied the runoff to the Jharna from Hauz-i–Shamshi. This was in addition to an open channel close by that carried the overflow of the tank to Tughlaqabad fort to enhance the drinking water supply. The Jharna structure was built in three parts. The first part consisted of the reservoir or the tank, the second part was the water fall and the last part consisted of the fountains. Akbar Shah II built the pavilion on the side and his son Bahadur Shah II added the central pavilion, more in the style of hayat hakhsh pool in the Red Fort. The Jharna, which was once the Mughal retreat and the highlight of the three-day festival of the Phool Walon Ki Sair, is seen now partly in ruins and the surroundings have been encroached upon. The water fall is seen more in the form of a drain in need of urgent restoration measures.
Restoration
Hauz-i-Shamsi and the Jharna, which are in state of deterioration, has drawn the attention of the Delhi High Court. The High Court commented severely on the inaction of the concerned authorities on their upkeep of the monuments and observed:
Since 2000, we have been hearing this case and only files are getting thicker. The concerned authorities should now start taking action, seriously.
The Jharna is an extremely significant water structure and connected with protected monuments like Jahaz Mahal and Hauz-i-Shamsid. However, the multiplicity of ownership has led to neglect of the monument. The festival here is held by the MCD and the land otherwise belongs to the DDA. Ideally, the archaeological department or the ASI should take it over along with the MCD and the DDA ensuring that the environment around it is restored and the encroachments removed.
Hauz-i-Shamsi is also considered as one of the heritage components of the historic and traditional water management systems of the city of Delhi and is mandated to be conserved under a ruling of the High Court.