The deity Hanuman is sometimes featured with five-faces in his iconography, known as Panchamukhi Hanuman, or Panchamukha Anjaneya. Each head is that of a deity associated with Vishnu, and is depicted to be facing a cardinal direction: Hanuman faces the east, NARASIMHA faces the south, Varaha faces the north, Garuda faces the west, and Hayagriva faces the sky.
This iconography is not regarded to exist in mainstream Hinduism, and has been primarily featured in the Tantra tradition only since the 15th century CE. This form of the deity appears in regional traditions of the Ramayana. In one version, Rama and Lakshmana are captured by Ahiravana, and are offered to a goddess as sacrifices in Patala, the netherworld. Hanuman rescues the brothers from their captivity, slaying the goddess, and defeats Ahiravana by extinguishing five lamps simultaneously by manifesting his five faces.