The Ningthouja dynasty followed a religion that had elements of:

Ancestor worship
Sanamahism
Hinduism
All of the above

The Ningthouja dynasty followed a religion that had elements of ancestor worship, Sanamahism, and Hinduism.

Ancestor worship is the belief that the spirits of deceased ancestors can influence the living. It is a common practice in many cultures around the world, and it is believed to have originated in prehistoric times. Ancestor worship is often practiced through rituals such as offerings, prayers, and sacrifices.

Sanamahism is a religion that is practiced by the Meitei people of Manipur, India. It is a polytheistic religion that is based on the belief in a supreme being called Panthoibi. Sanamahism also includes the worship of a number of other gods and spirits, as well as ancestor worship.

Hinduism is a religion that originated in India. It is a polytheistic religion that is based on the belief in a number of gods and goddesses. Hinduism also includes the belief in reincarnation and karma.

The Ningthouja dynasty was a royal dynasty that ruled the Meitei kingdom of Manipur from the 14th to the 19th centuries. The Ningthoujas were followers of Sanamahism, but they also incorporated elements of Hinduism into their religion. This is evident in the architecture of their temples, which are a mix of Hindu and Sanamahism styles.

The Ningthoujas were a powerful and influential dynasty. They played a major role in the history of Manipur, and their religion continues to be practiced by the Meitei people today.