Valmiki Ramayana Bala Kanda Sarga 61 Shloka 9
Original Shlokaउपाध्यायवचश्श्रुत्वा स राजा पुरुषर्षभ। अन्वियेष महाबुद्धि: पशुं गोभिस्सहस्रश:।।1.61.9।।
1 source checked for this shloka
पुरुषर्षभ O Best of men, महाबुद्धि: great intellectual, स: राजा that king, उपाध्यायवच: the words of priest, श्रुत्वा having heard, सहस्रश: in thousands, गोभि: with cows, पशुम् animal, अन्वियेष searched.
"O Best of men (Rama) hearing the words of the high priest, the highly intellectual king searched for a human victim in exchange for thousands of cows.