Ref. No. 1054/41-239
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
If he is qualified and eligible for the job, then his job is fine and salary is halal. And if he is not eligible and he got the job unjustly just owing to bribe, then it is not halal.
And Allah knows best
Darul Uloom Waqf Deoband
This answer was collected from the official website of Darul Uloom Deoband Waqf. The institution is based in India and the answers are provided in accordance to the Hanafi Fiqh.