Sergio Busquets sustained the injury on November 15 while on international duty with Spain, during the Nations League match against Switzerland.
UEFA Nations League: Sergio Ramos was making his 177th appearance for Spain to become the most capped European player in history but it was a night to forget for the defender.
Germany have had a subdued start in the Nations League with two draws against Spain and Switzerland and a scrappy 2-1 win over Ukraine.
Nations League: Spain top their group, having kicked off with a creditable 1-1 away draw against Germany before a sparkling 4-0 victory over Ukraine, whom they now face on Tuesday.
Jose Luis Gaya's late goal gave Spain a 1-1 draw away in Germany on Thursday as the start of the UEFA Nations League marked the return of international football in Europe.
Denmark and Switzerland secured spots at Euro 2020 at the expense of the Republic of Ireland on Monday as Roberto Mancini's Italy completed a perfect qualifying campaign.
Italy became the second team to qualify for Euro 2020 after a 2-0 win over Greece while Spain edged closer to the finals.
Roberto Martinez's men saw their six-match unbeaten run since reaching the World Cup semi-finals brought to an shuddering halt.
England manager Gareth Southgate recognised his side have vast room for improvement despite bouncing back from three consecutive defeats as a much-changed team edged past Switzerland for a 1-0 friendly win thanks to Marcus Rashford's winner.