Matsya Purana — Solar Dynasty Prelude: Vivasvān–Saṃjñā–Chāyā
एवमुक्तस्तपस्तेपे यमस्तीव्रं महायशाः गोकर्णतीर्थे वैराग्यात् फलपत्त्रानिलाशनः //
evamuktastapastepe yamastīvraṃ mahāyaśāḥ gokarṇatīrthe vairāgyāt phalapattrānilāśanaḥ //
Thus instructed, the illustrious Yama undertook severe austerities at the sacred tīrtha of Gokarṇa; out of dispassion (vairāgya), he lived on fruits, leaves, and even on bare air.
This verse does not address pralaya directly; it highlights tapas (austerity) and vairāgya as spiritual disciplines associated with sacred places like Gokarṇa.
It presents an ethical model of self-restraint: even powerful authorities like Yama practice discipline and detachment, implying that rulers and householders should cultivate moderation, vows, and reverence for tīrthas.
The ritual takeaway is tīrtha-centered tapas: performing austerities at a consecrated pilgrimage site (Gokarṇa-tīrtha) is portrayed as especially potent; no Vāstu/temple-building rule is specified in this verse.