Matsya Purana — War of Devas and Dānavas: Yama and Kubera Defeated; Kālanemi’s Māyā and the A...
तस्मिन्प्रतिहते ह्यस्त्रे भ्रष्टतेजा दिवाकरः महेन्द्रजालमाश्रित्य चक्रे स्वां कोटिशस्तनुम् //
tasminpratihate hyastre bhraṣṭatejā divākaraḥ mahendrajālamāśritya cakre svāṃ koṭiśastanum //
When that weapon had been checked, the Sun (Divākara), his radiance shaken, resorted to Mahendra’s illusory art and fashioned his own body into millions of forms.
It does not describe Pralaya; it highlights divine māyā (illusion) as a tactical power in mythic combat, where a deity multiplies forms to counter a checked weapon.
Indirectly, it illustrates strategic adaptability: when direct force fails, one turns to skilful means (upāya). In ethical readings, it cautions that power must be guided by discernment rather than mere aggression.
No explicit Vāstu or ritual procedure is stated; the key technical term is “Mahendrajāla,” a Puranic concept of illusion/magical art rather than temple architecture.