Laghu Jataka 3.1
मित्राण्यर्काज्जीवो ज्ञगुरू ज्ञसितौ विभास्करा विकुजाः । वीन्द्वर्का विकुजरवीन्दवश्च केषांचिदाचार्याणामयम् ॥ १ ॥
mitrāṇyarkājjīvo jñagurū jñasitau vibhāskarā vikujāḥ | vīndvarkā vikujaravīndavaśca keṣāṃcidācāryāṇāmayam || 1 ||
According to some teachers, the natural friends of the planets from the Sun through Saturn are as follows: Jupiter for the Sun; Mercury and Jupiter for the Moon; Mercury and Venus for Mars; all except the Sun for Mercury; all except Mars for Jupiter; all except the Moon and Sun for Venus; and all except Mars, Sun and Moon for Saturn.