Atharvaveda Parishishta (Jyotisha Selections) · by Vedic sages (Atharvaveda)
Chapter 20 · Dreams (Svapnadhyaya)
स्वप्नाध्याय
ततः शुक्लाम्बरधरो वाग्यतः संयतेन्द्रियः ।तां निशं संविशेद्राजा भूमौ चैवाभिमन्त्रयेत् ॥
In the full Atharvaveda Parishishta this is Parishishta 68, 3.6.
Then, in white clothes, silent and with senses held in, the king should lie down that night on the ground. He should also say mantras there on the ground.
Simple meaning: The king, in white and silent, sleeps on the ground that night after saying mantras.
[अन्यथैव हि न स्वप्नदर्शनार्थनिदर्शनम्] ।
After saying the words, the king goes to sleep with a pure, steady mind.
प्रशस्तस्वप्नतां दृष्ट्वा ततो यायान्नराधिपः ।
With good dreams the king sets out. With bad dreams he begins a calming rite.
माहेन्द्रीममृतां रौद्रीं कुर्याद्वाप्यपराजिताम् ।
For bad dreams the king may do one of six named calming rites, with fees to the priests.