|At the beginning of time there was only the primeal ocean all around. Vishnu lay on Sheshnag in deep slumber under the influence of Yog Nidra. While Vishnu slept a lotus stalk grew out of his navel. At the upper end of the stalk was a lotus flower. Brahma was born in the lotus flower and was in deep meditation at the time of his birth. As Brahma lay in deep meditation in the lotus flower reciting the Vedas, ear wax flowed out of both ears of Vishnu.
Two Asuras known as Madhu and Kaitabh were born out of the ear wax. These Asuras Performed great penance for thousands of years. The Goddess was pleased with their devotion, appeared before them and granted them the boon that death would come to them only when they desired it. Being conscious of their immense strength, both the Asuras became arrogant. They attacked Brahma and stole away from him the four Vedas. Brahma though furious, was helpless in the face of great might of the Asuras. Hence he rushed in great consternation to Vishnu to seek his protection.
Vishnu, however, was in deep sleep under the influence of Yog Nidra and did not wake up inspite of the best efforts of Brahma. When Brahma realised that he could not wake up Vishnu in the normal course as he was sleeping under the influence of Yog Nidra. He then beseeched and praised 'Yoga Nidra to help him awaken Vishnu. . The fervent prayers of Brahma pleased Yog Nidra. She took pity on Brahma's plight and left Vishnu's body . As soon as Yog Nidra left his body, Vishnu woke up. Brahma told him about the murderous intent of Madhu and Kaitabh and entreated him to destroy them. Thus Lord Vishnu engaged in a fierce and long battle with the two Asuras at the end of which he killed them. In the episode of Madhu and Kaitabh, Goddess Durga has been portrayed as the 'Yoga Nidra' whose powerful influence renders even Lord Vishnu helpless.