Purana Jyotisha Sangraha · by Vyasa
Chapter 8 · Dreams and Eclipse Rules
ब्रह्मवैवर्तपुराणम् : शुभाशुभस्वप्नाः ग्रहणनियमाश्च
ओं नमो मृत्युञ्जयायेति स्वाहान्तं लक्षधा जपेत् ।दृष्ट्वा च मरणं स्वप्ने शतायुश्च भवेन्नरः ।पूर्वोत्तरमुखो भूत्वा स्वप्नं प्राज्ञे प्रकाशयेत् ॥ ५४ ॥
From the Brahmavaivarta Purana, print Krishna-janma Khanda ch 82, verse 54.
One should repeat 'Om, salutation to Mrityunjaya, svaha' a lakh times. Having seen death in a dream, he may live a hundred years. Facing north-east, tell the dream to a wise man.
Simple meaning: Repeating the Mrityunjaya chant a lakh times after a death dream is said to bring a hundred years of life.
Classical view, not medical advice.
काश्यपे दुर्गते नीचे देवब्राह्मणनिन्दके ।
The dream should not be told to certain people, including fools and those who blame gods.
अश्वत्थे गणके विप्रे पितृदेवासनेषु च ।
The dream may be told by day to an astrologer, a Brahmin, a noble person or a friend.
इति ते पुण्यमाख्यातं कथितं पापनाशनम् ।
The speaker closes the chapter and asks what else to tell.