Matsya Purana — Genealogy and Classification of Sacred Fires
मथितो यस्त्वरण्यां तु सो ऽग्निराप समिन्धनम् आयुर् नाम्ना तु भगवान् पशौ यस्तु प्रणीयते //
mathito yastvaraṇyāṃ tu so 'gnirāpa samindhanam āyur nāmnā tu bhagavān paśau yastu praṇīyate //
The fire that is churned forth in the forest is Agni called Āpa, the kindler of the fuel. And the blessed one who is led forth in the Paśu-sacrifice is (Agni) named Āyus.
It does not describe Pralaya directly; it classifies Agni by functional names in specific ritual contexts, showing how cosmic divinity is accessed through precise sacrificial procedure rather than through flood/dissolution narrative.
It supports dharma through correct ritual performance: a householder (and a king sponsoring rites) must recognize the proper form of Agni for the rite—fire produced by churning in the wilderness and fire formally ‘led forth’ for a Paśu-sacrifice—so that offerings are made with accurate ritual knowledge.
Ritually, it highlights distinct consecrated fires (especially one produced by friction and one installed/led for a Paśu rite). Architecturally (by implication), it underlines the need for a designated, properly prepared fire-space/altar zone (Agni-sthāna) where such fires are kindled and maintained according to rule.