Valmiki Ramayana Ayodhya Kanda Sarga 75 Shloka 37
Original Shlokaराजस्त्रीबालवृद्धानां वधे यत्पापमुच्यते। भृत्यत्यागे च यत्पापं तत्पापं प्रतिपद्यताम्।।2.75.37।।
1 source checked for this shloka
राजस्त्रीबालवृद्धानाम् of the king, woman, children and the aged, वधे kills, यत् पापम् whatever sin, उच्यते is mentioned in scriptures, भृत्यत्यागे च desertion of the dependents as well, यत् पापम् whatever sin, तत् (पापं) such (sin), प्रतिपद्यताम् be obtained.
May the one who counselled the exile of my esteemed brother acquire the same sin as one acquires for murdering a king, a woman, children and the aged and deserting dependents