Matsya Purana — Division of Bhārata-varṣa
रक्षःपिशाचा यक्षाश्च सर्वे हैमवतास्तु ते हेमकूटे तु विज्ञेया गन्धर्वाः साप्सरोगणाः //
rakṣaḥpiśācā yakṣāśca sarve haimavatāstu te hemakūṭe tu vijñeyā gandharvāḥ sāpsarogaṇāḥ //
All the Rākṣasas, Piśācas, and Yakṣas are said to dwell in the Himavat region; but on Hemakūṭa are to be understood the Gandharvas, together with hosts of Apsarases.
This verse is not about Pralaya; it is part of the Matsya Purana’s cosmographic mapping, assigning specific classes of beings to the regions of Himavat and Hemakūṭa.
Indirectly, it supports a king’s dharma of knowing sacred geography and the kinds of beings associated with different regions—knowledge used in governance, pilgrimage oversight, and ritual propriety rather than in daily household rules.
No explicit Vāstu or temple-building rule is stated; the ritual takeaway is geographic—certain mountains are presented as appropriate abodes of particular divine/semi-divine beings, informing pilgrimage narratives and regional sanctity.