Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
ततश्च सर्वदेवेभ्यस्तेजोरूपबलाधिकः ।बुधः सोमं समापृच्छ्य तपसे कृतनिश्चयः ॥ ४७ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 15, verse 47.
Then Budha, greater than all the gods in brilliance, form and strength, took leave of Soma, resolved on austerity.
Simple meaning: Budha took leave of Soma to do austerity.
जगाम काशीं निर्वाणराशिं विश्वेशपालिताम् ।
Budha went to Kashi and set up the Budheshvara linga.
तपश्चचार चात्युग्रमुग्रं संशीलयन् हृदि ।
The boy Budha did fierce austerity for ten thousand years.
ततो विश्वपतिः श्रीमान् विश्वेशो विश्वभावनः ।
Shiva appeared from the Budheshvara linga.