Matsya Purana — Catalogue of the Eighteen Puranas
यत्राग्निलिङ्गमध्यस्थः प्राह देवो महेश्वरः धर्मार्थकाममोक्षार्थम् आग्नेयमधिकृत्य च //
yatrāgniliṅgamadhyasthaḥ prāha devo maheśvaraḥ dharmārthakāmamokṣārtham āgneyamadhikṛtya ca //
There, seated in the midst of the Agni-liṅga, the Lord Maheśvara spoke—taking up the Agneya (fire-related) doctrine or rite—so that it may lead to dharma, artha, kāma, and mokṣa.
This verse does not directly address pralaya; it frames a fire-centered (Agneya) Śaiva teaching as a complete path to the four puruṣārthas, emphasizing ritual and doctrine rather than cosmic dissolution.
By stating that the Agneya Śaiva teaching yields dharma, artha, kāma, and mokṣa, the verse implies that disciplined worship/ritual can support household prosperity and ethical life (dharma–artha–kāma) while keeping liberation (mokṣa) as the highest aim.
The phrase “in the midst of the Agni-linga” highlights a ritual focal point: the linga associated with fire and an Agneya (fire-oriented) procedure/teaching—useful for interpreting temple/altar centrality and fire-direction symbolism in Puranic ritual settings.