Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
अस्मिन्पुरेभिषिच्याथ विसृज्येंद्रादिकान्सुरान् ।अलंचकार स्वं लोकं विष्णुनाऽनुमतो द्विज ॥ ६६ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 17, verse 66.
...in this city, sent Indra and the other gods away, and, with Vishnu's leave, went to his own world, Brahmin.
Simple meaning: Brahma returned to his own world with Vishnu's leave.
एवं शनैश्चरो जज्ञे सवर्णायां विवस्वतः ।
Saturn was born to the Sun and went to Varanasi.
तप्त्वा तपोऽतिविपुलं लिंगं संस्थाप्य शांकरम् ।
Saturn did great austerity and gained the rank of a planet.
शनैश्चरेश्वरं दृष्ट्वा वाराणस्यां सुशोभनम् ।
Worshipping Shanaishchareshvara on Saturday is said to keep off Saturn's trouble.