As per a legend, there was a prophecy that King Hima’s 16 year old son would die within four days of his marriage as a result of a snake bite. Due to such a startling prophecy, his wife grew worried and did not allow him to sleep. She locked him in a room and filled the chamber with gold and silver coins and Jewellery.When Yama approached at midnight in the form of a snake, his eyes were dazzled with the brilliance of illuminating gold and he could not enter the chamber. The snake crawled to the top of the heap of Gold, but could not reach the king’s son to kill him. The snake quietly went away in the morning.
Hence the practice of lighting a Diya for Yama was born to keep the untimely death at bay. Women light lamps to honor Lord Yama – the god of death, by lighting a Diya at the entrance of the house facing south direction, which should be kept lit the whole night. As many as 13 Diyas are lit around the house to keep the house illuminated.
Some of the other rituals include praying to Lord Kubera with elaborate Puja rituals and offering flowers. Lord Dhanvantri is also worshipped on this day to seek good health. His Puja is performed with a ritualistic bath followed by offering Kumkum, Akshata and flowers along with nine different types of Grains as a symbol of Navdhanya.
Hence Dhanteras Puja involves worshipping Lord Ganesha, Goddess Lakshmi, Lord Kubera, Lord Dhanvantri and Lord Kubera.