Spain's National Court announced its decision on Thursday, ruling in favour of the league's request to temporarily suspend the strike.
The players' union said it would strike from Saturday in protest of a proposed government law to regulate television revenues. The strike was backed by the Spanish federation.
Barcelona leads Real Madrid by four points and can clinch the league title with a win at Atletico Madrid on Sunday.