Valmiki Ramayana Kishkindha Kanda Sarga 18 Shloka 36
Original Shlokaतदलं परितापेन धर्मतः परिकल्पितः। वधो वानरशार्दूल न वयं स्ववशे स्थिता:।।4.18.36।।
1 source checked for this shloka
वानरशार्दूल O tiger among Monkeys, तत् therefore, परितापेन अलम् do not regret, वधः striking, धर्मतः righteously, परिकल्पितः committed, वयम् we are, स्ववशे under our control, न स्थिताः are not.
'O tiger among monkeys do not regret. Your death has the sanction of dharma. We are under the control of sastras. We are committed to them. We do not have the freedom to act independently.