Shiva Purana
सूर्याज्ञया तदंशत्य सुग्रीवस्यान्तिकं ययौ॥ मातुराज्ञामनुप्राप्य रुद्रांशः कपिसत्तमः ॥ १२॥
The excellent monkey, a part of Śiva approached Sugrīva, a part of the sun, at his behest, after getting the permission of his mother.
english translation
sUryAjJayA tadaMzatya sugrIvasyAntikaM yayau॥ mAturAjJAmanuprApya rudrAMzaH kapisattamaH ॥ 12॥
hk transliteration by Sanscript