Pasupatheeswarar indicates God of cows. Shiva is believed to have descended for the holy cow Kamadenu that prayed to him by ablution with their milk on the Shivalingam to get relief from the curse of sage Vashista.
A sculpture indicating the legend is present in the walls of the second precinct of the temple. Another legend associates the temple with the saivite saint Tirumular (6th century CE).
Tirumular saw a herd of cows lamenting the death of their herdsmen. Being a siddha, he entered into the body of dead herdsman, came back alive to serve as the herdsman and sung 3000 verses in praise of Shiva.
The legend is closely associated with Gomukteswarar temple at Tiruvadurai, but is also associated with other temples like Thenupuriswarar Temple at Patteswaram and Tirukogarnam near Pudukkottai.
Maadakovil
As per another legend, sage Vasishtha cursed the sacred cow Kamadhenu. To relieve off the curse, Kamadhenu sought the advice of Brahma who asked her to perform penance at this place. It is also believed that the presiding deity is believed to have been worshipped by the Devas, Saptarishi, Indra, Surya and Navagrahas, the nine planetary deities. As per a local legend, Vayu, the god of wind, in a contest with Adisesha, brought two hillocks, one of which was installed here and other at Nallur.
Image indicating the legend
Avoor Maadakovil, full view
Avur was a fort during the 2nd century rule of Cholas Kochengat Chola was a Chola king and one of the 63 nayanmars (saivite saints) of saivism.
He is believed to have attained spiritual rebirth of a spider that fought with an elephant in its previous birth over the worship of the Hindu god Shiva.He had red eyes during birth as he remained in his mother's womb a little longer. His mother, looking into the babies red eyes said Kochengkannano (in Tamil ko=king, cheng=red, kan=eyes), which literally means king with red eyes and hence he was named Kochengat Cholan.
After becoming a king, he followed saivism and built 70 Maadakovils, temples with elevated structure where elephants cannot reach the sanctum, in the Chola empire.[5][6] The temple has an inscription (181 of 1911) dating from the 3rd year of the rule of Rajendra Chola III (1246-1279 CE) indicating grants of land to the temple. The temple is maintained and administered by the Hindu Religious and Charitable Endowments Department of the Government of Tamil Nadu.