There was instant karma for Barcelona as Lionel Messi's penalty was saved after Jordi Alba dived to win the spot-kick.