Ronald Koeman’s side were forced to battle for the three points in Aragon as the hosts set their stall out to frustrate the Catalan giants.
A slick link up between Pedri and Messi just before the break finally prised Huesca’s defence, with the latter feeding Frenkie de Jong to tuck past Fernandez.
The visitors continued to lay siege to the Huesca goal after the break with Arrasate’s side happy to soak up the pressure as Barcelona’s frustration grew in the final half hour.
Huesca did almost nick a point late on but Barcelona stopper Marc Ter Stegen pulled off a vital stop to deny Rafa Mir.
Image via Barcelona CF on Twitter