Pedri came off the bench to score the winner as Barcelona extended their lead at the top of La Liga to six points with a slender win over Girona.
The 20-year-old, who was playing his 100th game in all competitions for Barcelona, tapped home from four yards after Jordi Alba's cross was fumbled by Fulham loanee Paulo Gazzaniga.
The win extends Barcelona's unbeaten run to nine league games.
They have 47 points with Real Madrid, who have a game in hand, on 41 points.
Real Madrid host third-placed Real Sociedad on Sunday at 20:00 GMT.
Girona, who only had two shots on target late in normal time, are 12th, four points clear of the relegation zone.
They had manager Michel sent off in second-half stoppage time after his protests for a foul by Barcelona midfielder Frenkie de Jong.
Barcelona were without Poland striker Robert Lewandowski and Spain forward Ferran Torres through suspension and lacked potency in the forward areas.
France winger Ousmane Dembele also went off in the first half, with what looked like a thigh injury.
Xavi's side are unbeaten in La Liga since losing 3-1 to Real Madrid on 16 October - winning eight and drawing once - and are unbeaten in 13 games in all competitions.
They are looking to win La Liga for the first time since 2018-19.
Latest Stories
-
Kwaku Antwi-Boasiako: Is Anti-LGBT+ Bill more supreme than the 1992 Constitution?
5 mins -
Mahama promises to build university in six new regions
12 mins -
Mahama promises to enhance ‘Okada’ business with electric tricycles, maintains need for legalisation
21 mins -
Ghana’s land litigation concerns presents threat to solar energy projects
27 mins -
African Games 2023: Joseph Commey makes semis; Walid Omar, two others eliminated in boxing event
33 mins -
African Games: Ghana’s men’s doubles duo one win from medal zone
33 mins -
More tough times ahead for Ghana’s cedi; cedi is 3rd worst currency in Africa – Bloomberg
36 mins -
IMF Boss urges Ghana to foster inclusive society amid anti-LGBTQ+ legislation
45 mins -
Recent depreciation of cedi not worrying; trend to reverse soon – Prof Turkson
48 mins -
We won’t allow aliens to elect our MP for us anymore – Effutu NDC PC James Kofi Annan
50 mins -
It is not a crime to show foreign movies during prime time – Lawyer
51 mins -
The era of omnichannel retailing and the faith of conservative brands
1 hour -
Extend mentoring to less privileged areas – Women in Engineering urged
1 hour -
Admaius Capital partners with Egyptian medicated-cosmetics business Parkville
2 hours -
Clean energy advocates want intensified efforts to achieve 10% renewable energy target amid recent power cuts
2 hours