The Spanish tennis player will face the winner of the match between Juan Martin del Potro and Gilles Simon.
World number one Rafael Nadal reached the Wimbledon quarter-finals, in the season's third Grand Slam tournament, with a straight-sets win over Czech Jiri Vesely.
This will be Nadal's first Wimbledon quarter-final since 2011, seven years after the last of his five finals. It took him one hour and 56 minutes to beat the world No. 97 with a 6-3, 6-3 and 6-4 win.
Read more in O Jogo