Purana Jyotisha Sangraha · by Vyasa
Chapter 14 · Ujjain: Shani and the Planet Tirthas
स्कन्दपुराणम् : अवन्त्यां शनिः ग्रहतीर्थानि च
इति तस्य वचः श्रुत्वा सविता सर्वतापनः ।तत्रागमद्वनं यत्र महाकालस्य पावनम् ॥ ४६ ॥
From the Skanda Purana, print Avantya Khanda, Avanti-kshetra-mahatmya ch 56, verse 46.
Hearing his words, the Sun, who burns everything, went to that holy forest of Mahakala.
Simple meaning: The Sun went to the holy forest of Mahakala.
क्षातासंगमसंयुक्ता यत्र शिप्रा पयस्विनी ।
The Shipra and Kshata meeting is said to bring enjoyment, liberation, wealth and grain.
तत्रागत्य प्रियां भार्यां वडवारूपधारिणीम् ।
The Sun, in a horse's form, saw his wife there as a mare.
नासिकाघ्राणमात्रेण यत्र जातौ सुतावुभौ ।
Two sons, healers of the gods, were born there from the touch of noses.