Valmiki Ramayana Bala Kanda Sarga 50 Shloka 8
Original Shlokaप्रतिगृह्य च तां पूजां जनकस्य महात्मन:।।1.50.8।। पप्रच्छ कुशलं राज्ञो यज्ञस्य च निरामयम्।
1 source checked for this shloka
महात्मन: of the Illustrious, जनकस्य Janaka's, तां पूजाम् that homage, प्रतिगृह्य having received, राज्ञ: about king, कुशलम् welfare, यज्ञस्य about sacrifice, निरामयम् च welfare, पप्रच्छ enquired.
Viswamitra received illustrious king Janaka's worship and enquired about the welfare of the king and the conduct of the sacrifice.