Petitioner Muhammad Irfan contended that he had applied for the post of peon in the city district government and only his name had appeared on the merit list issued by authorities.
However, officials ignored the merit list and appointed another person who had not even applied for the post, Irfan said.
At a previous hearing, Haq had told the judge that the name of the appointed person too was on the merit list.
During a hearing on Monday, the judge snubbed Haq for concealing facts and punished him for misleading the court.
The judge directed Haq to appear in court again on December 6 with the records of the case.