Valmiki Ramayana Ayodhya Kanda Sarga 76 Shloka 18
Original Shlokaतदा हुताशनं हुत्वा जेपुस्तस्य तदृत्विजः। जगुश्च ते यथाशास्त्र तत्र सामानि सामगाः।।2.76.18।।
1 source checked for this shloka
तदा then, तदृत्विजः his priests, तस्य that king's, हुताशनम् fire, हुत्वा offering oblations, जेपुः intoned prayers, तत्र there, ते those, सामगाः those who chant Sama Veda, यथाशास्त्रम् in accordance with sacred scriptures, सामानि hymns, जगुश्च sang.
Then the priests offering oblations to the king's fire, intoned prayers. The reciters of Sama Veda sang the hymns in accordance with the sacred scriptures.