Valmiki Ramayana Ayodhya Kanda Sarga 76 Shloka 11
Original Shlokaप्रेतकार्याणि यान्यस्य कर्तव्यानि विशां पतेः। तान्यव्यग्रं महाबाहो क्रियान्तामविचारितम्।।2.76.11।।
1 source checked for this shloka
महाबाहो O mightyarmed one, अस्य विशांपतेः for this king, यानि those, प्रेतकार्याणि funeral rites, कर्तव्यानि are required to be done, तानि them, अविचारितम् without hesitation, अव्यग्रम् attentively, क्रियान्ताम् may be performed.
O mightyarmed prince, the funeral rites that are required to be performed for the departed king ought to be done carefully without any shortcomings.