Matsya Purana — Soma
नानारूपासु जातीनां तिर्यग्योनिषु मूर्तिषु यदाहारा भवन्त्येते तासु तास्विह योनिषु //
nānārūpāsu jātīnāṃ tiryagyoniṣu mūrtiṣu yadāhārā bhavantyete tāsu tāsviha yoniṣu //
Among the many kinds of species, in the embodied forms born in animal wombs (tiryagyoni), these beings become such as their food; in each and every womb here, they take on the diet belonging to that particular birth.
Directly, it is not about Pralaya; it explains how embodied beings in various animal births manifest distinct food-habits according to their particular yoni, reflecting the ordered diversity of creation.
It supports ethical discernment: a householder and king should regulate food and conduct, recognizing that habits—including diet—shape disposition and destiny; governance and personal discipline should therefore encourage sāttvika, non-harmful living rather than animal-like compulsions.
No Vāstu or temple rule is stated; the ritual takeaway is the broader Purāṇic principle that āhāra (diet) is a formative factor for purity and practice, so offerings and personal intake should be chosen in harmony with one’s dharma.