Matsya Purana (Jyotisha Selections) · by Vyasa
Chapter 10 · Omens, Part 1: Shanti, Images, Fire, Trees and Sky
अद्भुतानि (१)
पिशाचादिभये जाते शान्तिर्वै नैर्ऋती स्मृता ।अपमृत्युभये जाते दुःस्वप्ने च तथा स्थिते ॥ १८ ॥
In the full Matsya Purana this is print ch 227 (standard ch 228), verse 18.
When fear of goblins and the like has come, the Nairriti shanti (peace ritual) is the one taught. Next, when fear of an untimely death arises, or a bad dream has come, the Yamya shanti is done.
Simple meaning: Goblin fears call for the Nairriti rite; fear of early death or a bad dream, the Yamya rite.
याम्यान्तु कारयेच्छान्तिं प्राप्ते तु नरके तथा ।
The Yamya peace rite suits these fears and deep suffering. The Kauberi rite suits loss of wealth.
वृक्षाणाञ्च तथार्थानां वैकृते समुपस्थिते ।
The Parthivi peace rite suits trouble with trees and goods, for one who wants prosperity.
प्रथमे दिनयामे च रात्रौ वा मनुजोत्तम ! ।
First three hours of day or night: the stars Hasta, Swati, Chitra, Punarvasu and Ashvini begin the list.