Purana Jyotisha Sangraha · by Vyasa
Chapter 12 · Prabhasa and the Planet Lingas
स्कन्दपुराणम् : प्रभासक्षेत्रे ग्रहलिङ्गानि
तस्य तुष्टो महादेवो ग्रहत्वं प्रददौ प्रिये ।एकादशशतानां च ग्रहाणामाधिपत्यताम् ॥ ५ ॥
From the Skanda Purana, print Prabhasa Khanda (Prabhasa-kshetra-mahatmya) ch 51, verse 5.
Mahadeva, pleased with him, gave him the state of a planet, and lordship over eleven hundred planets.
Simple meaning: Shiva made Ketu a planet and lord of eleven hundred planets.
तत्रस्थं पूजयेद्भक्त्या केतुलिंगं महाप्रभम् ।
The text says to worship this linga, especially when Ketu rises.
ग्रहपीडासु चोग्रासु पूजयेत्तं विधानतः ।
In planet trouble the text says to worship it with flowers, scents, incense and food.
तोषयेद्विधिवद्देवं केतुं कल्मषनाशनम् ॥ ८ ॥
The text says to please Ketu by the rule.