In Hindu mythology, the practice is associated with the goddess Sati, the first wife of the god Shiva. You can read the story of Shiva and Sati in this Wikipedia article.
The image below is a painting, circa 1800, that depicts the act of suttee:
Writing resources for Myth-Folklore and Indian Epics at OU. :-)