Purana Jyotisha Sangraha · by Vyasa
Chapter 16 · Shani and Dasharatha, Mount Abu and Arunachala
स्कन्दपुराणम् : अर्बुदः हाटकेश्वरक्षेत्रं नर्मदा अरुणाचलश्च
यस्मात्पाप न मे वाक्यं त्वया धर्मसमन्वितम् ।कृतं तस्मात्क्षयव्याधिस्त्वां ग्रसिष्यति दारुणः ॥ २८ ॥
From the Skanda Purana, print Nagara Khanda ch 63, verse 28.
Wrongdoer, you have not done as I said, which was right. So a fierce wasting sickness will seize you.
Simple meaning: Daksha said a wasting sickness would seize the Moon for breaking his word.
Classical view, not medical advice.
एवमुक्त्वा ययौ दक्षश्चन्द्रोऽपि द्विजसत्तमाः ।
The Moon was gripped by the sickness and shrank each day.
ततोऽसौ कृशतां प्राप्तः संपरित्यज्य रोहिणीम् ।
The Moon grew thin and wandered the earth.
क्षयव्याधिप्रणाशाय पृच्छमानश्चिकित्सकान् ।
He asked doctors and tried many medicines.