Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
यदि प्रसन्नो देवेश किमसाध्यं भवेन्मम ।तथापि मे शरीरस्य क्षयं वारय शंकर ॥ ४३ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 43.
"If you are pleased, Lord of gods, what is impossible for me? Still, Shankara, stop the wasting of my body."
Simple meaning: The text says the Moon asked Shiva to stop the wasting of his body.
क्षंतव्यो मेऽपराधश्च कल्याणं कुरु सर्वदा ।
The text says the Moon asked for forgiveness and Shiva answered.
पक्षे च क्षीयतां चन्द्र कला ते च दिने दिने ।
The text says Shiva told the Moon to wane in one fortnight and grow in the other.
एवं सति तदा देवा हर्षनिर्भरमानसाः ।
The text says the gods and sages came quickly, full of joy.