The term “foreigner” is used to mention someone who is not an Indian.
It was used in the medieval period to describe any stranger who appeared, say, in a village, and who was not a member of that society or culture.
For a city inhabitant, a forest-dwelling was a stranger in this sense.
Even if they were from different religions or caste origins, two peasants living in the same village were not strangers to one another.
Final Answer:
Any outsider who did not belong to a certain group or culture and was not a part of that particular hamlet was considered a foreigner during the medieval period.