Pepe is a doubt for Real Madrid's Liga clash with Granada on Sunday lunchtime due to injury.
The Portuguese defender suffered the injury in the Clásico defeat against Barcelona almost a fortnight ago and he did not feature in either of Portugal's international matches despite being called-up to the squad.
The former Porto man had tests on his return to the Spanish capital and a statement on the official Madrid website highlighted the results.
It read: "Following the medical tests carried out on Pepe by the Real Madrid doctors in the Sanitas La Moraleja Hospital, he has been diagnosed with an injury in the vastus internus muscle in his right thigh. His progress will be monitored."
Madrid did not give a timeframe for Pepe's injury but Carlo Ancelotti is not expected to risk him against Granada, a side Madrid are fully expected to collect all three points from.