Barcelona and Real Madrid will play in the semi-finals of the Spanish Cup.
The draw for this stage took place on Monday.
Athletic and Osasuna will compete for another ticket to the final.
Matches are scheduled for February 28/March 1 and April 5-6. The exact dates depend on the performance of teams in European competitions.
The Spanish Cup final will take place on May 6.