The 62-year-old Mazzarri became the second man to be sent packing this season by the ailing Italian champions.
Girona defeated their Catalan rivals for the first time ever in the top flight in a pulsating battle to rise two points above Real Madrid, second, after their 1-1 draw at Real Betis on Saturday.
Champions Barca were dominating the match early on under the scorching heat of south Madrid, with Brazil winger Raphinha the main threat to the home side's defence by running the right channel and creating several opportunities.
Barca's friendly against Juventus, due to be played later on Saturday, was cancelled after an outbreak of viral gastroenteritis among the Spanish team
Xavi's side wrapped up the title after two first-half goals from Robert Lewandowski spurred them to a 4-2 win against city rivals Espanyol on Sunday
UEFA opened a formal investigation into Barcelona last month for potential violation of the European soccer governing body's legal framework regarding payments made by the club to a company owned by a senior refereeing official
Barcelona beat Real Madrid 1-0 in the Copa del Rey semi-final first leg on Thursday at the Santiago Bernabeu, but were criticised for only having 34 percent possession
Fernandes told BT Sport. "The belief of the fans, they push us through difficult moments. We have made great comebacks, the club is made also by that. In the past we have done a lot like this result"
Mexico's Pumas on Saturday signed Dani Alves after the veteran Brazilian defender left Barcelona for a second time.
Defender Gerard Pique praised Barcelona's resilience after they ended an emotion-filled season by clinching top spot in La Liga with a 3-0 victory at Granada on Saturday.
So it all comes down to this. With just one round remaining in La Liga, a single point separates Barcelona and Real Madrid at the top of the table. Everything will be decided on a spectacular Saturday evening - and the build-up in Spain is already intense.
Barcelona will play friendlies against newly-crowned English Premier League champions Leicester and Liverpool in August, the Spanish giants announced Monday.
Real Madrid and Atletico Madrid's passage to the Champions League final and Sevilla qualifying for the Europa League equivalent for a third straight year has underlined Spain's dominance of European soccer.
Luis Enrique has lauded Lionel Messi as Barcelona's leader and "the best wherever he plays".
Brazil legend Ronaldo believes Neymar has what it takes to match Lionel Messi and become the Argentine's heir at Barcelona.
Having lead Barcelona to a record 31-match unbeaten run since last October, Lionel Messi could now very well be the driving force to lead his team to domestic and continental glory once again.
Enjoy Barcelona icon Messi putting on a show for Italian pop star Eros Ramazzotti, with an awesome trick from behind the goal.
Eduardo Berizzo has defended Barcelona stars Lionel Messi and Luis Suarez after suggestions they were disrespectful against his Celta Vigo side.
Barcelona forward Lionel Messi is out of hospital and recovering after a non-surgical procedure to cure his kidney problems.