Introduction
Madri is a princess of Madra, the sister of Shalya, and the second wife of Pandu. She is the mother of the twins Nakula and Sahadeva, by the Ashvins.
This article primarily follows the Mahabharata.
Family
Marriage
The Adi Parva records that Pandu paid a bride-price to Shalya in order to marry Madri — this is the only marriage in the Mahabharata where a bride-price is explicitly mentioned. After his first wife Kunti, Madri was Pandu's second and deeply beloved queen. The two queens accompanied Pandu when he retired to the forest after his curse.
Pandu's curse
Pandu had shot and killed the sage Kindama and his wife while they were in the form of deer, in the act of mating. As he died, Kindama cursed Pandu: if Pandu ever approached a woman with desire, he would die on the instant. This curse made it impossible for Pandu to father children. He and his queens retired to the forest. Kunti had a mantra, given to her by the sage Durvasa, to invoke any god and bear a child by him. This mantra became the means by which the five Pandavas were conceived.
The twins
Kunti taught the mantra to Madri, but only once. Madri called both the Ashvins, the divine twin physicians, in a single invocation, and so had twins — Nakula and Sahadeva. Kunti was not pleased that Madri had used the single opportunity to produce two sons rather than one, and withheld the mantra from her after that.
Death
One day in the forest, Pandu saw Madri in the forest and was overcome with desire, despite knowing the curse. He approached her and died the moment he touched her. Madri felt herself responsible — she believed she had attracted him knowingly or unknowingly. When his funeral pyre was prepared, both Kunti and Madri wanted to die on it. Kunti argued that it was her right as the elder wife, but Madri replied that she was the one with whom Pandu had died — she felt she had to accompany him. The sages allowed Madri to die on the pyre. Her two sons were left in Kunti's care, and Kunti raised all five Pandavas equally.