The matrimonial ceremony of Śrī Parameśvara and pārvatī was held in the Himālayas. On that auspicious occasion all the living beings of the world were present, and as a result the Himālayan region sank down and the earth slanted to that side. To keep the equilibrium of the earth, śiva sent agastya to the south. Accordingly agastya reached Kuttālam, where there was a temple dedicated to the worship of viṣṇu. agastya had besmeared his forehead with ashes and so admission to the temple was denied to him, by the devotees there who were Vaiṣṇavites. By his own power agastya turned himself into a vaiṣṇavite and got into the temple, and immediately the image of viṣṇu in the temple changed by itself into a śivaliṅga (idol representing śiva). Since then the temple at Kuttālam has remained a temple of śiva. agastya proceeded to the southernmost point of the earth and sat there and because of his weight the earth regained its normal position. (skanda purāṇa).
+
The matrimonial ceremony of Śrī Parameśvara and pārvatī was held in the Himālayas. On that auspicious occasion all the living beings of the world were present, and as a result the Himālayan region sank down and the earth slanted to that side. To keep the equilibrium of the earth, śiva sent agastya to the south. Accordingly agastya reached Kuttālam, where there was a temple dedicated to the worship of viṣṇu. agastya had besmeared his forehead with ashes and so admission to the temple was denied to him, by the devotees there who were Vaiṣṇavites. By his own power agastya turned himself into a vaiṣṇavite and got into the temple, and immediately the image of viṣṇu in the temple changed by itself into a śivaliṅga (murti or vigraha representing śiva). Since then the temple at Kuttālam has remained a temple of śiva. agastya proceeded to the southernmost point of the earth and sat there and because of his weight the earth regained its normal position. (skanda purāṇa).