Valmiki Ramayana Bala Kanda Sarga 18 Shloka 43
Original Shlokaस राज्ञ: प्रतिगृह्यार्घ्यं शास्त्रदृष्टेन कर्मणा।।1.18.43।। कुशलं चाव्ययं चैव पर्यपृच्छन्नराधिपम्।2
1 source checked for this shloka
स: he, शास्त्रदृष्टेन as shown in the scriptures, कर्मणा by religious rites, राज्ञ: of the king, अर्घ्यम् offerings, प्रतिगृह्य having received, नराधिपम् king, कुशलं च welfare of the kingdom, अव्ययं prosperity, पर्यपृच्छत् enquired.
Viswamitra received the offerings as ordained in the scriptures and enquired from the king about the welfare and prosperity of his kingdom.