They can ask whether he is legally entitled to work in the jurisdication they are hiring for - but that’s about it. Asking questions about race, religion, etc. would be considered a no-no. In order to not “put off” the recruiter - he should try to politely redirect the conversation by stating that he is a legal resident of the US and can work here.