The game will be held in Qatar's Khalifa International Stadium, said the Spanish football governing body Thursday, Xinhua reports.
The World Cup winner is level on points with France at the top of its qualifying group for the 2014 World Cup.
Spain will play Finland March 22 and four days later travels to France for a game that could decide the group winner.