Valmiki Ramayana Bala Kanda Sarga 29 Shloka 27
Original Shlokaयथार्हं चक्रिरे पूजां विश्वामित्राय धीमते। तथैव राजपुत्राभ्यामकुर्वन्नतिथिक्रियाम्।।1.29.27।।
1 source checked for this shloka
धीमते to the sagacious, विश्वामित्राय Visvamitra, यथार्हम् in a fitting manner, पूजाम् honours, चक्रिरे extended, तथैव in the same manner, राजपुत्राभ्याम् for both the princes, अतिथिक्रियाम् hospitality, अकुर्वन् extended.
They extended hospitality to both the princes in the same way they offered their worship to the sagacious Viswamitra.