Purana Jyotisha Sangraha · by Vyasa
Chapter 14 · Ujjain: Shani and the Planet Tirthas
स्कन्दपुराणम् : अवन्त्यां शनिः ग्रहतीर्थानि च
तस्य तद्वचनं श्रुत्वा नृपस्य द्विजसत्तमः ।ज्ञात्वा तपोबलेनैव विश्वामित्रस्य चेष्टितम् ।राजानं प्रत्युवाचेदं विनयावनतं तथा ॥ ५० ॥
From the Skanda Purana, print Avantya Khanda, Chaturashiti-linga-mahatmya ch 80, verse 50.
Hearing the king's words, the best of Brahmins knew by his tapas (hard spiritual practice) what Vishvamitra had done. He answered the king, who stood bowed in humility.
Simple meaning: The Brahmin, knowing what Vishvamitra had done, answered the humble king.
ज्ञातमेव यथाकालं गच्छ राजन्कुशस्थलीम् ।
Vasishtha tells the king to go to the linga near Mahakala that destroys bad dreams.
राजसंपत्करं दिव्यं पुत्रपौत्रविवर्द्धनम् ।
Seeing this linga is said to bring wealth, sons and grandsons, and to free one from sin.
दुःस्वप्नजं भयं घोरं विनंक्ष्यति न संशयः ।
Vasishtha says the fear from bad dreams will go and the planets will be favourable.