The story of Narasimha avatar is connected with the story of Hiranyakashipu and Prahlad. In Vishnu’s Varaha avatar the lord killed Hiranyakashipu’s brother Hiranyaksha. By this action Hiranyakashipu got angry towards Vishnu and decided to kill Mahavishnu. For this he took deep penance to appease Lord Brahma and attain magical powers to defeat Lord Vishnu.
Brahma Dev got satisfied with his great devotion and asked him what boon he need. Hiranyakashipu asked for eternity, but Brahmadev gave him the boon that he can choose his death according to his wish. Thus Hiranyakashipu wants his death to be in the following ways that, he will not be killed by any man or animal, not in air, water or sea, not in the home or outside, not at the day or at night, and not by any asthra or sasthra.
With his powers he began to ruin the life of people.
Vishnu gave people the relief that Hiranyakashipu’s son Prahlad will become the cause of his death. Years later the wife of Hiranyakashipu, gave birth to Prahlad who became a great devotee of lord Vishnu.
During a heated argument with Prahlad Lord Vishnu appeared in the form of Lord Narasimha – the half man half lion form. The furious Narasimha grabbed Hiranyakasipu, pulled him to his lap and tore open his body with his claws to kill the asura. As Hiranyakashipu’s death wish and Brahma’s boon, Lord Narasimha was neither a man nor an animal, the time was twilight neither day nor night, he sat on the threshold of the room keeping the body of the Rakshas Hiranyakashipu on thighs, used his nails to kill the demon instead of astra or sasthra