Matsya Purana (Jyotisha Selections) · by Vyasa
Chapter 14 · Dreams
स्वप्नाध्यायः
एवमादीनि चान्यानि दुःस्वप्नानि विनिर्दिशेत् ।एषां सङ्कथनं धन्यं भूयः प्रस्वापनन्तथा ॥ १५ ॥
In the full Matsya Purana this is print ch 241 (standard ch 242), verse 15.
One should name these and other things like them as bad dreams. Telling them to others is blessed, and so is going back to sleep.
Simple meaning: These are bad dreams. Telling them to others and going back to sleep is said to help.
कल्कस्नानन्तिलैर्होमो ब्राह्मणानाञ्च पूजनम् ।
As remedy: a bath with herb paste, a fire offering with sesame, worship of Brahmins and praise and worship of Vasudeva.
नागेन्द्रमोक्षश्रवणं ज्ञेयं दुःस्वप्ननाशनम् ।
Hearing the elephant king's story ends bad dreams. A dream in the night's first part bears fruit in a year.
षड्भिर्मासै द्वितीये तु त्रिभिर्मासै स्तृतीयके ।
A dream in the second part of the night bears fruit in six months, the third in three, the fourth in one.