The Temple of Shri Naina Devi Ji is situated on a hilltop, base of which also has samadhi of bhagat Jatt Jeona Morh, in the Bilaspur District, Himachal Pradesh, India. The temple is connected with National Highway No. 21. The temple at the top of the hill can be reached via road (that curves round the hill up to a certain point) and then by concrete steps (that finally reach the top). There is also a cable car facility that moves pilgrims from the base of the hill all the way to the top.
The hills of Naina Devi overlook the Gobind Sagar lake. The lake was created by the Bhakra-Nangal Dam.
Several mythological stories are associated with the establishment of the temple.
According to a legend, Goddess Sati burnt herself alive in Yagna, which distressed Lord Shiva. He picked the corpse of Sati on his shoulder and started his Tandava dance. This horrified all deities in the heaven as this could lead to holocaust. This urged Lord Vishnu to unleash his Chakra that cut the Satis body into 51 pieces. Shri Naina Devi Temple is the place where eyes of Sati fell down.
Another story related to the temple is of a Gujjar Boy . Once he was grazing his cattle and observed that a white cow is showering milk from her udders on a stone. He saw the same thing for next several days. One night while sleeping, he saw Goddess in her dreams who told him that the stone is her pindi. Naina told about the entire situation and his dream to Raja Bir Chand. When Raja saw it happening in reality, he built a temple on that spot and named the temple after Naina's name.
Shri Naina Devi Temple is also known as Mahishapeeth because of defeat of demon Mahishasur by the Goddess. According to the legends, Mahishasur was a powerful demon who was blessed by the boon of immortality by Lord Brahma, but the condition was that he could be defeated only by an unmarried woman. Due to this boon, Mahishasur started spreading terror on Earth and Gods. To cope with the demon, all Gods combined their powers and created a Devi to defeat him. The Devi was gifted different types of weapons by all Gods. When Mahishasur got mesmerized by the immense beauty of Devi and proposed her to marry him. Devi told him that she will marry him if he would overpower her. During the battle, Devi defeated the demon and took out both his eyes. This urged Gods to happily applaud "Jai Naina" and hence the name