The only illegal here if he is sponsored by a certain company and he works for another and been caught by the authority, he could be in big trouble. Better yet look for job and transfer his sponsorship to the new company.