Lionel Messi marked his return from suspension with a goal in the Copa del Rey on Wednesday as Barcelona survived a scare against Rayo Vallecano to reach the quarter-finals.
With Real Madrid and Atletico Madrid already out, another upset looked on the cards when Fran Garcia gave Rayo a surprise lead at Vallecas early in the second half.