A Lucknow bench of justices Amreshwar Pratap Sahi and Attau Rahman Masoodi gave the order on the petition by activist Nutan Thakur.
The petitioner has alleged that Ahmad was appointed superseding 13 IPS officers from the UP cadre when eight of them were available to the state government for consideration, petitioner's counsel Ashok Pandey said.
He claimed that the step was not in line with the Supreme Court ruling.
The petitioner sought a direction for removal of Javeed Ahmad from this post.