Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
तप्त्वा तपोऽतिविपुलं लिंगं संस्थाप्य शांकरम् ।इमं लोकमवापोच्चैर्ग्रहत्वं च हरार्चनात् ॥ २६ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 17, verse 126.
...he did very great austerity and set up a linga (the stone symbol of Shiva) of Shankara. By worshipping Hara he gained this world and, high up, the rank of a planet.
Simple meaning: Saturn did great austerity and gained the rank of a planet.
शनैश्चरेश्वरं दृष्ट्वा वाराणस्यां सुशोभनम् ।
Worshipping Shanaishchareshvara on Saturday is said to keep off Saturn's trouble.
विश्वेशाद्दक्षिणे भागे शुक्रेशादुत्तरेण हि ।
The linga is south of Vishveshvara and north of Shukresha; worship brings joy.
श्रुत्वाऽध्यायमिमं पुण्यं ग्रहपीडा न जायते ।
Hearing this chapter is said to keep off trouble from planets.