Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
निधायेशं पुरस्तत्र चन्द्रस्तपतु नित्यशः ।प्रसन्नश्च शिवः पश्चादक्षयं तं करिष्यति ॥ ३४ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 34.
"Placing the Lord in front there, let the Moon do penance every day. Shiva, pleased, will then make him free from waning."
Simple meaning: The text says daily penance at Prabhasa will please Shiva and stop the Moon's waning.
इति श्रुत्वा वचस्तस्य ब्रह्मणस्ते सुरर्षयः ।
The text says the gods and sages went back to the Moon and Daksha.
गृहीत्वा ते ततश्चन्द्रं दक्षं चाश्वास्य निर्जराः ।
The text says the gods took the Moon to Prabhasa and the sages began the rites.
आवाह्य तीर्थवर्याणि सरस्वत्यादिकानि च ।
The text says the gods called the holy waters and worshipped with an earthen linga.