Ratna Jyotisha Sangraha · by Various authors
Chapter 1 · Planets and Gems
मणिमाला : ग्रहरत्नानि धारणं स्वप्नशकुनौ गोमेदवैदूर्ये
वैदूर्य्यं विगुणे सूर्य्ये नीलञ्च मृगलाञ्छने ।आवनेये च माणिक्यं पद्मरागं शशाङ्कजे ॥ ८० ॥
From the Mani-Mala, Part II, verse 80.
When the Sun is adverse, cat's-eye (vaidurya) is for the Sun. Blue sapphire is for the Moon. Ruby (manikya) is for Mars. Ruby (padmaraga) is for Mercury.
Simple meaning: When the Sun, Moon, Mars or Mercury is adverse, the text names cat's-eye, blue sapphire, ruby and ruby.
गुरौ मुक्ता भृगौ वज्रं शनौ नीलं शुभं विदुः ।
For adverse Jupiter, Venus, Saturn, Rahu and Ketu, the text names pearl, diamond, blue sapphire, hessonite and emerald.
पद्मरागश्च वज्रञ्च विद्रुमो गोमेदस्तथा ।
By birth dasha: Sun ruby, Moon diamond, Mars coral, Mercury hessonite, Jupiter pearl, Venus cat's-eye, Saturn blue sapphire, Rahu emerald.
यो यस्य हि दशाजातः पीठस्तस्य हि तन्मयः ।
A person born in a planet's dasha has a seat made of that planet's gem. Crystal suits all kings.