As per ancient texts like the Brahma Vaivarta Purana, Yogini Ekadashi is associated with the story of Hemamali, a celestial being who suffered from a painful curse due to negligence and arrogance. To atone for his sins, he observed the Yogini Ekadashi fast with full sincerity, leading to his liberation and restoration to divine status.