Pakistani President Pervez Musharraf has praised Israeli Prime Minister Ariel Sharon as " courageous " for ordering the withdrawal of Jewish settlements from Gaza .