Valmiki Ramayana Bala Kanda Sarga 58 Shloka 13
Original Shlokaविश्वामित्रस्तु तं दृष्ट्वा राजानं विफलीकृतम्। चण्डालरूपिणं राम मुनि: कारुण्यमागत:।।1.58.13।।
1 source checked for this shloka
राम O Rama, मुनि: sage, विश्वामित्रस्तु Visvamitra, विफलीकृतम् made worthless, चण्डालरूपिणम् found in the form of Chandala, तम् that, राजानम् king, दृष्ट्वा having seen, कारुण्यम् pity, आगत: obtained.
O Rama on seeing the king reduced to a useless a chandala, sage Viswamitra was touched with pity".