Ravana smiled at the couple and realized suddenly what he wanted. He had fallen in love with the palace itself. He had admired every piece of woodwork, every carving and every room that had been designed by Vishwakarma. "Jaganmata, I would like this house of yours in return for my ceremonies." He asked.
Parvathi smiled at the play of fate and granted him his wish. Ravana was visibly thrilled but at the same time guilt rattled him. He felt ashamed at robbing Parvathi of her house. "Devi," he exclaimed, "do continue to live in Lanka as long as you please. This land is but equivalent to one speck of dust on your feet. Please give your consent to stay here and bless this land forever."
Parvathi smiled again. "Ravana, I accept your invitation. My shakthi will always pervade this place. But on one condition- I will go away from the island the moment you disobey any of my commands." Ravana agreed to her condition and with one last Tathastu, Parvathi returned to Kailasha.'
Ravana built a gigantic temple, replete with architectural details, dedicated to the goddess Shankari Devi. The temple was located on the top a cliff that fell sharply into the magnificent sea below. Around the temple, Ravana set up a beautiful garden, the best in all of Lanka. The goddess smiled on the people of Lanka and the kingdom prospered.
Trouble began when Ravana, overcome by carnal desire, kidnapped Sita and brought her to Lanka. Shankari devi was angered by this base action of Ravana. She asked him to leave Sita and return her to Rama. But lust clung to Ravana like a leech and he did not obey Devi's advice. Highly disappointed, Shankari left the island country and with her left all the peace and prosperity of the kingdom.
We are of course familiar with the remainder of the story detailing the Rama-Ravana war and the subsequent defeat of Ravana. When Vibheeshana was crowned by Rama as the emperor of Lanka, he prayed that Shankari devi once again take residence in the island nation. Shankari Devi accepted his prayers and re-entered her temple, bringing glory to Lanka once again.
The place where Ravana had built Shankari Devi's temple is believed to be the exact spot where the groin of Sati is said to have fallen. The magnificent cliff where the temple was built is by itself considered to be a part of Kailasha.