According to Kojiki (Roderods of Ancient Matters), Haniyasuhiko no kami and Haniyasubime no kami came into being from feces of Izanami, who was about to die after giving birth to the god of fire.
古事記では、火神を産んで死ぬ間際のイザナミの大便から波邇夜須毘古神・波邇夜須毘売神の二神が化生したとする。