Matsya Purana (Jyotisha Selections) · by Vyasa
Chapter 2 · Graha Shanti
ग्रहशान्तिः
ब्रह्माणञ्च गुरोर्विद्याच्छुक्रस्यापि शचीपतिम् ।शनैश्चरस्य तु यमं राहोः कालं तथैव च ॥ १४ ॥
In the full Matsya Purana this is print ch 92 (standard ch 93), verse 14.
Know Brahma as the god of Jupiter, and Indra as the god of Venus. Yama is the god of Saturn. In the same way Kala is the god of Rahu.
Simple meaning: Brahma goes with Jupiter, Indra with Venus, Yama with Saturn and Kala with Rahu.
केतोर्वै चित्रगुप्तञ्च सर्वेषामधिदेवताः ।
Chitragupta goes with Ketu. Agni, the waters, earth, Vishnu, Indra and Indrani begin the second set of gods.
प्रजापतिश्च सर्पाश्च ब्रह्मा प्रत्यधिदेवताः ।
Prajapati, the snakes and Brahma complete the second set. Vinayaka, Durga, Vayu, Akasha and the two Ashvins are also called.
संस्मरेद्रक्तमादित्यमङ्गारकसमन्वितम् ।
Sun and Mars are red, Moon and Venus white, Mercury and Jupiter tawny, Saturn and Rahu black, the Ketus smoky.