Facing Las Palmas and Mallorca should not be a problem for the Barcelona squad in the upcoming match. The last 2 matches in La Liga were quite bad for Barcelona, and now they can no longer get bad results if they don't want their position to be replaced by Madrid.
Although Madrid is also not experiencing good things in the squad, they might still be able to threaten Barcelona's position. Moreover, with the difference in points, I also think Madrid can catch up.
It seems that the competition between these two rivals will last until the end of the season. It will be interesting rather than being dominated by one team that has a fairly large difference in points.
Barcelona have dropped points in their last two La Liga matches. Barcelona have lost against Real Sociedad. Barcelona have also failed to win against Celta Vigo. So if Barcelona want to retain the top spot in the table now, they will have to win their upcoming matches. If Barcelona lose any points in any match, Barcelona will probably lose the top spot in the table.
In the next few matches, Barcelona will play against Las Palmas, Mallorca, Real Betis and Leganes, all three teams are relatively weak. If Barcelona's performance is stable, Barcelona has the ability to earn full points in every match.