The Village Narasingam is situated at a distance of 8 km from Madurai on the road to Melur. Near to this village, at the foot of the Yanaimalai hills there is a Cave temple of Yoga Narasinga Perumal.. This temple was constructed in 770 A.D. by Madurakavi alias Marankaari who was the minister of the Madurai King Paraanthaka Nedunchelzyan. There is a front Mandapam (court). The sculpture of Narasinga Perumal is carved out of the Yanaimalai Hill rocks. Since the hill is in the shape of an elephant, the name of the hill is called Yannaimalai.
This temple is a good example of the cave sculpturing of the Pandia Kingdom. In front of this there is a stone temple for the goddess Sri. Narasingavalli.
This place, though not a `Divyadesam' sanctified by Azhwars' hymns, is situated between two holy places — Azhagarkoil in the north and Thirumohur in the east.
According to the Sthala Puranam of Madurai Koodal Azhagar Temple, known as Koodal Manmiyam, published 80 years ago, sage Romasa had installed the Narasimha idol in a cave in the hill. And the 87th chapter of the Uthara Kandam of the Brahmanda Puranam says the sage did penance on the banks of the tank called Padma Thadagam, as it was filled with lotus flowers, near the Gajagiri Kshethram (the present Yanaimalai) seeking progeny, and wanted the Lord to appear in His Narasimhavatara. The Lord appeared as Ugra Narasimha and the heat that emanated from Him was unbearable. Even the celestials were affected by it and they all came to Gajagiri Kshethram and prayed to the Lord to calm down. The Lord could not be pacified and then they sought the help of Prahlada, whose arrival quietened Him to some extent. They prayed to Goddess Mahalakshmi, who also took Her abode in Him as Narasingavalli, after which He became Yoga Narasimha. The Lord later granted the boon sought by the sage.
According to another legend, Lord Siva was afflicted by Brahmahathi Dosha after He plucked one of the five heads of Lord Brahma. He was relieved of it after He took bath in the holy water source here, also known as Chakra Theertham, and He worshipped Lord Narasimha. It is believed that taking a dip in the Chakra Theertham, which is near the temple, rids one of all sins.
The Thiruvilaiyadal Puranam, written first by Perumbatrapuliyur Nambi and later by Paranjothi Munivar, says that the Chozha king, who could not win the battle against the Pandya ruler, sought the help of Jains.
They created a giant elephant using their mystic powers and directed it to kill the Pandya king and destroy his capital. But the Pandya prayed to Lord Siva to save him and his capital. The Lord sent to him the `Narasinga Asthram,' which turned the elephant into a hill.
To commemorate this event, a stone elephant was installed in Madurai near the Vaigai facing the north, which is found near the Yanaikkal bridge even today. Inscriptions in the cave temple say that Maran Kari, the minister of the Pandya king, started the construction of the temple in 770 A.D., which remained unfinished, either due to his death or due to some other calamity, and was completed by his brother Maran Eyinan later. He also built the Muka Mandapam and consecrated the temple.
The fort around Azhagarkoil is also known as Iranyan Kottai, and even now a stone idol of Lord Yoga Narasimha is found atop its entrance. A big idol of Yoga Narasimha, found in the outerprakaram(closed precincts of a temple) of the Azhagarkoil temple, known as `Jwala Narasimhar,' is said to be ferocious. To pacify Him, regular Thirumanjanam is performed with gingelly oil. A hole is found in the ceiling above the idol which is believed to let out the fire emanating from it.
The foot of the hill, where the Narasimha temple is located is known as Narasingam or Hasthigiri or Gajagiri.
There are Mahamandapam, Garuda Mandapam and Mukhamandapam of the Pandya period. The shrine of Goddess Narasingavalli faces south, at the entrance. Inscriptions say that there was also an `agraharam' for Vedic Brahmins, but there is no trace of it now.
The temple bustles with activity during the Narasimha Jayanthi, and on Masi Makam day, when Sri Kalamega Perumal of Thirumohur visits this place for the `Gajendra Moksham' festival.
The temple is unique for its utsava idol of Narasimha in a standing posture with the Sudarsana and Panchajanya in His upper two hands while the left lower hand holds the Gathai and the right is in the Abhaya Hastha posture.
The inscriptions at the temple are in ancient Tamil, Brahmi and Vattezhuthu. There are two inscriptions of Srivallabha Pandya, which speak about the gifts made to the temple. There are also inscriptions of later Pandyas and one of them, belonging to the rule of Sundara Pandya, (1216 A.D.) gives details about his conquest of the Chozha country. Another inscription says that land gifts were made at Iyakkimangalam village for conducting the festival in the Yanaimalai Temple.
Inscriptions belonging to the rule of later Pandyas, especially Maravarman Sundara Pandya I, are also available but most of them are incomplete. The Yoga Narasimha idol at the temple is six feet high, sculpted on the hill itself.