Raphinha fired 10-man Barcelona to a dramatic 2-1 win at Osasuna in LaLiga, as the Blaugrana recovered from Robert Lewandowski's first-half dismissal to go five points clear at the summit.

Barca fell behind to David Garcia's early header on Tuesday and were a man down when Lewandowski picked up a second booking for a reckless foul on the goalscorer.

Unused substitute Gerard Pique ended his Blaugrana career with a whimper when he also saw red for berating the officials at the break, but Xavi's men hit back in the second half, first through Pedri.

Despite Osasuna looking the more likely victors late on, Raphinha came off the bench to nod in five minutes from time, snatching a crucial victory in Barca's final game before the World Cup.