Adhi Sankarar in Kaladi, Kerala, a learned brahmin, by the name of Sivaguru, and his wife, Aryambal, spent their life in pooja and in giving alms to poor and in other good deeds. This childless couple went to Trichur and performed puja for 48 days to Lord Vadakkunathan (Lord Shiva) and prayed for a son. Lord Shiva melted in their devotion and appeared before them and told them "I am extremely happy with your devotion and you will get what you want. But tell me whether you want a number of dull children or a son who is extremely intelligent, who will live for a short period only." The couple replied the decision could not be theirs as the Lord knows what is good for them. As the Lord had already promised that he will be born to do good to this world, the child was named Sankara. Sam means prosperity and Karathi means the giver. All the visitors stood in awe at the divinity of the child and said: "This is not an ordinary child".
As Shankara grew up, he attracted everybody with his intelligence and kindness. Sri Sankara completed his travels and went to Badrinath. Lord Vishnu appeared before him and told that his sculpture in Alaknanda river should be taken out and a temple should be built for it. This temple is called Badrinarayan temple and is one of the important religious places for Hindus.