It is the main temple in Puttur, around 50 km from Mangalore, Karnataka. It is dedicated to Lord Shiva. And is, after Kashi Vishwanath Temple, the only temple to have a cremation ground opposite it. This is the Mahatobhaara Shree Mahalingeshwara Temple.
According to popular legend, three wise old men, ardent devotees of Shiva, were traveling through Southern India, carrying a Shivling from Kshetra of Kashi.
While they were in Puttur, under the patronage of the King of Banga, they set aside the Shivling on the ground to offer their prayers. Once done with their prayers, they tried to lift the Shivling, which is when they realized they had an issue at hand. They just couldn’t lift it.
They asked for the king’s help, who gladly obliged, and sent his soldiers along with his elephant to do the needful. Strangely, with every effort to lift the Linga, it only grew in size, until it was so much that the poor elephant fell dead in the temple pond close by, with its body parts strewn in different directions.
This is why, the locals still maintain that the pond water, now turned green, is supposedly poisonous to elephants.
How the fishes and turtles survive is another story.