Śrīmad-Bhāgavatam · Text 8.9.26
Who is speaking and story frame
शिरस्त्वमरतां नीतमजो ग्रहमचीक्लृपत् ।
यस्तु पर्वणि चन्द्रार्कावभिधावति वैरधी: ॥ २६ ॥
śiras tv amaratāṁ nītam
ajo graham acīkḷpat
yas tu parvaṇi candrārkāv
abhidhāvati vaira-dhīḥ
Rāhu’s head, however, having been touched by the nectar, became immortal. Thus Lord Brahmā accepted Rāhu’s head as one of the planets. Since Rāhu is an eternal enemy of the moon and the sun, he always tries to attack them on the nights of the full moon and the dark moon.
Read Śrīla Prabhupāda's purport on Vedabase.io