The Padma Purana tells it as Krishna's answer to Yudhishthira. King Muchukunda, truthful and devoted to Vishnu, ruled a kingdom free of troublemakers. His daughter Candrabhaga was given in marriage to Shobhana, the son of king Candrasena.
Shobhana came to stay in his father-in-law's house, and the dark Ekadashi of Kartika arrived. Muchukunda's rule was strict: on that day nobody in the palace ate, and even the elephants, horses and other animals were given neither grass nor water. Candrabhaga warned her husband that he was too weak to bear hunger. He answered that he would keep the vow rather than be blamed, and left the outcome to fate.
By sunrise he was dead. The king cremated him with royal wood; Candrabhaga stayed in her father's house and did not follow him. By the merit of that one unwilling fast Shobhana rose to a divine city on the peak of Mount Mandara - golden pillars, crystal, a white umbrella, gandharvas praising him - but the city did not stand firm.
A brahmin of Muchukunda's city, Somasharman, came there on pilgrimage and recognised him. Shobhana explained the fault: the vow had been kept without faith, and only his wife could steady the city. The brahmin carried the message back. Candrabhaga had kept every Ekadashi since her eighth year; the sage Vamadeva, sprinkling her with water consecrated by Vedic hymns, gave her a divine body. She joined her husband on Mandara, and by her merit the city stood until the final deluge.