Once upon a time king Surath after loosing his kingdom to his enemy fled to the forest. After wandering for some time he reached the hermitage of sage Medha. He started living there, as he had no place to go. The dejected king used to pass his time wondering about his future.
One day, Surath met a man named Samadhi, who was driven out from his house by his own sons. His sons had captured all the wealth. Both of them went to sage Medha and narrated about their woeful tales. Sage Medha advised both of them to contemplate on the form of Mahamaya Bhagawati Surath and Samadhi were curious to know about Bhagawati Sage Medha said-
“The demons, Madhu and Kailash were produced from the filth which came out from the ears of lord Vishnu, while he was resting on the back of Sheshnag during the time of total annihilation.”
“On seeing lord Brahma sitting on the lotus flower, which emerged from the navel of lord Vishnu, both the demons tried to kill him. Lord Brahma eulogized yoga nidra. So that lord Vishnu could be awakened from the sleep. Goddess Bhagavati became pleased and told Brahma that in a short while from now she would be manifesting herself to kill the demons.”
“Bhagavati manifested herself in the form of Kali from the mouth and eyes of lord Vishnu. Meanwhile lord Vishnu awakened from his sleep. He fought with the demons for one thousand years but could not defeat them. At last the demons told lord Vishnu that they wanted to bless him with a boon. Lord Vishnu demanded their death. Seeing water on all sides the demons told him that he could kill them where no water was found. Lord Vishnu then severed their heads after laying them on his thighs.”