Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 13 · Vishti, the Nine Grahas and Shanti Omens
विष्टिः नवग्रहाः शान्तिनिमित्तानि नक्षत्ररोगकालश्च
नृपाभिषेके सा कार्या यात्राकाले नृपस्य तु ।दुःस्वप्ने दुर्निमित्ते च ग्रहवैगुण्यसंभवे ॥ २ ॥
In the full Bhavishya Purana this is Uttara Parva chapter 143, verse 2.
That peace ritual should be done at a king's anointing and when a king sets out. Also after a bad dream or a bad omen, or when the planets turn unfavourable.
Simple meaning: The peace ritual is done at a coronation, before a king's journey, or after a bad dream or omen.
विद्युदुल्कानिपाते च जन्मर्क्षे ग्रहदैवते ।
The ritual is also for lightning, falling meteors, a comet, a sky crash and earthquakes.
प्रसूतौ मूलगण्डान्ते यमलस्य तु संभवे ।
The ritual is also for a Moola gandanta birth, twins, falling flags and birds entering the house.
क्रूरग्रहाणां वक्रत्वे जन्मादिषु विशेषतः ।
Malefic planets turning retrograde in the birth sign, or the 12th, 4th or 8th from it, call for the ritual.