Purana Jyotisha Sangraha · by Vyasa
Chapter 14 · Ujjain: Shani and the Planet Tirthas
स्कन्दपुराणम् : अवन्त्यां शनिः ग्रहतीर्थानि च
ग्रहतीर्थे नरः स्नात्वा ग्रहाणामर्चनं चरेत् ।न तस्य ग्रहपीडा वै बाधते हि कदाचन ॥ ९६ ॥
From the Skanda Purana, print Avantya Khanda, Avanti-kshetra-mahatmya ch 70, verse 96.
A person who has bathed at a planet's tirtha (holy bathing place) should worship the planets. Trouble from the planets never harms him.
Simple meaning: Bathing at a planet's tirtha and worshipping the planets is said to keep planet trouble away.
एवं व्यास समाख्याता मया देवाश्च तीर्थकाः ।
The pilgrimage to the gods' tirthas is called holy and sin-destroying.
ग्रहपीडासु चोग्रासु दारिद्र्ये घोरसंकटे ।
The pilgrimage is told as a way out of planet trouble, poverty and distress.
शृणु देवि प्रयत्नेन पंचाशत्तममीश्वरम् ।
The fiftieth Shiva linga is said to keep planet trouble away by sight.