Mohini Avatar story of Sri Krishna.

King Iravan was the warrior son of the Pandava prince Arjuna and the Naga princess Ulupi. He bravely volunteered to be sacrificed to the goddess Kali to ensure the Pandavas' victory in the Mahabharata war.
His final wish was to experience marriage before his sacrifice.
When King Iravan requested marriage right before sacrificing his life in the Mahabharata war, no woman stepped forward to marry a doomed man.
Sri Krishna uniquely transformed into the stunning celestial nymph Mohini, married him for one night, and even wept inconsolably as a grieving widow after his sacrifice.

..
...