Valmiki Ramayana Yuddha Kanda Sarga 83 Shloka 17
Original Shlokaयद्यधर्मोभवेद्भूतोरावणोनरकंव्रजेत् । भवांश्चधर्मसम्युक्तोनैवंव्यसनमाप्नुयात् ।।6.83.17।।
1 source checked for this shloka
अधर्मः unrighteousness, भूतः beings, भवेद्यदि if it is there, रावणः Ravana, नरकम् hell, व्रजेत् will be, धर्मसम्युक्तः endowed with righteousness, भवान् च you also, एवम् in that way, व्यसनम् agony, नाप्नुयात् not have
"If there is unrighteousness, Ravana should be in hell. You who are endowed with righteousness should not have agony."