Let's see, in the remaining matches, who will be able to win more matches. Because from the remaining matches, they also still have the chance to lose, both Barcelona and Real Madrid. If Barcelona suffers a lot of defeats, then it will benefit Real Madrid, that is if Real Madrid manages to play more consistently with victory. And vice versa if it is Real Madrid who has to suffer a lot of defeats, then it is an advantage for Barcelona. But don't forget Atletico Madrid either, because no matter what they still put pressure on these two teams, so don't ignore them.
It is impossible to say how they will perform in the remaining matches, but I expect Barcelona to be more consistent than Real Madrid. There are several reasons for this, Barcelona is now free of injury and each of their players is performing well, even though they are not dependent on any single player.
On the other hand, Real Madrid still has some important players injured and their defense is quite weak. If any player from their strong attack is injured, it will be difficult for them to win the match. Even Real Madrid does not look as strong as it should be. But they may be able to use their experience and somehow taste the title.