There are two kinds of schools of Indian philosophy, Astika and Nastika. Astikas accept the authority of the Vedas, whereas Nastikas reject the authority of the Vedas. The Astika schools are part of Hinduism, and there are six main ones: Samkhya, Yoga, Nyaya, Vaisheshika, Purva Mimamsa, and Vedanta. The Nastika schools are outside of Hinduism, and they include Buddhist, Jains, Charvakas, and Ajivikas. But what both Astika schools and Nastika schools have in common is that they're all indigenous to India. Religions and philosophies which are foreign to India, like Judaism, Christianity, Islam, etc. are classified as Mleccha (although they technically they're also Nastikas).
Now the Astika schools of Hindu philosophy have attempted vigorous refutations both of competing Astika schools along with the Nastika schools (For instance, see my answer here for how the Vedanta school refutes various Astika and Nastika schools.) But my question is, what is the earliest Hindu work which contains a refutation of a Mleccha religion or philosophy?
So far the earliest I've found is this chapter of the Chaitanya Charitamrita, where the Gaudiya Vaishnava Acharya Chaitanya Mahaprabhu says this about Islam:
You drink cows’ milk; therefore the cow is your mother. And the bull produces grains for your maintenance; therefore he is your father. Since the bull and cow are your father and mother, how can you kill and eat them? What kind of religious principle is this? On what strength are you so daring that you commit such sinful activities? ... Since you Muslims cannot bring killed cows back to life, you are responsible for killing them. Therefore you are going to hell; there is no way for your deliverance. Cow-killers are condemned to rot in hellish life for as many thousands of years as there are hairs on the body of the cow. There are many mistakes and illusions in your scriptures. Their compilers, not knowing the essence of knowledge, gave orders that were against reason and argument.
I think part of the reason why I'm finding so few examples is that Mlecchas may not have been very involved in the intellectual debate in ancient/medieval India. For instance, I'm of course aware of violent conflicts between Hindus and Muslims, but I'm not aware of many philosophical debates between Hindus and Muslims earlier than a century or two ago.
Note that I'm not looking for works discussing religious unity and the like; I'm specifically looking for things like a Vedantic refutation of Christianity, a Nyaya refutation of Islam, etc.