Agni Purana (Jyotisha Selections) · by Vyasa
Chapter 4 · Dreams
स्वप्नाध्यायः
(भूयश्च स्वपनं तद्वत्कार्यं स्नानं द्विजार्चनम् ।तिलैर्होमो हरिब्रह्मशिवार्कगणपूजनम् ॥ १५ ॥
In the full Agni Purana this is chapter 229, verse 15.
Again, sleep in the same way. Take a bath. Worship the Brahmins. Make a fire offering with sesame. Worship Hari, Brahma, Shiva, the Sun and Ganesha.
Simple meaning: After a bad dream, sleep again, bathe, worship, make a sesame fire offering and pray to the gods.
तथा स्तुतिप्रपठनं पुंसूक्तादिजपस्तथा ।
Recite praises and the Purusha Sukta. A dream in the first part of the night bears fruit in a year.
षड्भिर्मासैर्द्वितीये तु त्रिभिर्मासैस्त्रियामिकाः ।
Later parts of the night give quicker results: six months, three months, half a month, then ten days.
एकस्यामथ चेद्रात्रौ शुभं वा यदि वाऽशुभम् ।) पश्चाद्दृष्टस्तु यस्तत्र तस्य पाकं विनिर्दिशेत् ॥ १८ ॥
If you see a good and a bad dream in one night, the later dream decides the result.