PAS has criticised rival Umno for its failure to implement the Islamic penal code when it has the political power to do so.