The actual temple is an impressive stone edifice of unknown date. During the war between the Kauravas and Pandavas, their own kith and kin gor killed. In order to absolve themselves of this sin, the Pandavas went for a pilgrimage. But Lord Vishweshwara was away in Kailasa in the Himalayas. On learning this, the Pandavas, left Kashi. They reached the Himalayas via Hardwar. They saw Lord Shankar from a distance. But Lord Shankara hid from them. Then Dharmaraj said: “Oh, Lord, You have hidden yourself from our sight because we have sinned. But, we will seek You out somehow. Only after we take your Darshan would our sins be washed away. This place, where You have hidden Yourself will be known as Guptkashi and become a famous shrine.”
From Guptakashi (Rudraprayag), the Pandavas went ahead they reached Gaurikund in the Himalayas valleys. They wandered there in search of Lord Shankara. While doing so Nakul and Sahadev found a he-buffalo. It was unique to look at.
Then! Bhemma went after the buffalo with his mace. The buffalo was clever and Bheema could not catch it. But Bheema managed to hit the buffalo with his mace. The buffalo had its face hidden in a crevice-in the earth. Bheema started to pull it by its tail. In this tug-of war, the face of the buffalo went straight to Nepal, leaving its hind part in Kedar. The face of the buffalo is known as Pashupatinath in Nepal.
On this hind part of Mahesha, a glorious JyotirLinga appeared. Lord Shankara appeared from this great light. He appeared before the pandavas. By getting a Darshan of Lord Shankar, the pandavas were absolved of their sins. The Lord told the Pandavas, “From now on, I will remain here as a triangular shaped JyotirLinga. By taking a Darshan of Kedarnath, devotees would attain piety”. Near Kedarnath, there are many symbols of the Pandavas Raja Pandu died here, when he tried to make love to Madri. This place is famous as Pandukeshwar. The tribals here perform a dance called “Pandav Nritya”. The mountain top where the Pandavas went to Swarga, is known as “Swargarohini”. When Darmaraja was leaving for Swarga, one of his fingers fell on the earth. At that place, Dharmaraj installed a Shiva Linga, which is the size of the thumb.
To gain Mashisharupa, Shankara and Bheema fought with maces. Bheema was struck with remorse. He started to massage Lord Shankara’s body with ghee. In memory of this event, even today, this triangular Shiva JyotirLinga is massaged with ghee. Shankara is worshipped here in this manner. Water and Bel leaves are used for worship.
When Nar-nrayan went to Badrika village and started the worship of Parthiva, Shiva appeared before them. A few days later, a pleased Shiva granted them some boons. Nar-narayan wished that for the welfare of the humanity, Shiva should remain there in his original form. Granting their wish, in the snow-clad Himalayas, in a place called Kedar, Mahesha himself stayed there as a Jyoti. Here, He is known as Kedareshwara.
By visiting Kedareshwar, sorrows do not come even in dreams. By worshipping Shambara (Kedareshwar) Pandavas were rid of all theor sorrows. Badri-Keshwar’s darshan rids one of the material ties. Whoever gives Dan (alms) at Kedareshwar, just gets assimilated into Shivaroopa.
Srimat Shankaracharya praised Lord Shiva thus:
mahAdripArshve cha taTe ramantaM sampUjyamAnaM satataM munIndraiH | surAsurairyaxa mahoragADhyaiH kedAramIshaM shivamekamIDe || Meaning: Oh Lord, who resides in the great heights of Himalayas, oh Lord, thou, who art worshipped forever by saints, Hermits, Demons, Gods, Yakshas and Maha Nag (giant snakes), I bow and offer millions of Pranams. As a matter of fact, as one enters the main temple, the first hall contains statues of the five Pandava brothers, Lord Krishna, Nandi, the vehicle of Shiva and Virabhadra, one of the greatest guards of Shiva. An unusual feature of the temple is the head of a man carved in the triangular stone fascia of the temple. Such a head is seen carved in another temple nearby constructed on the site where the marriage of Shiva and Parvati was held. No specific family of pujaris supervise rituals at Kedarnath, where the focus is on veneration of the stone lingam that rests in the inner sanctum of the temple.