Mohini plays a lesser role in a Shaiva legend in the Skanda Purana. Here, Vishnu as Mohini joins Shiva to teach a lesson to arrogant sages. A group of sages are performing rituals in a forest, and start to consider themselves as gods. To humble them, Shiva takes the form of an attractive young beggar (Bhikshatana) and Vishnu becomes Mohini, his wife. While the sages fall for Mohini, their women wildly chase Shiva. When they regain their senses, they perform a black magic sacrifice, which produces a serpent, a lion, an elephant (or tiger) and a dwarf, all of which are overpowered by Shiva. Shiva then dances on the dwarf and takes the form of Nataraja, the cosmic dancer. The legend is retold in the Tamil Kovil Puranam and Kandha Puranam with some variation. This legend is also told in the Sthala Purana related to the Chidambaram Temple dedicated to Shiva-Nataraja.