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
-
Why I said Wizkid disrespected Don Jazzy – Macaroni explains
3 mins -
You are making people angry with your utterances – Kwesi Pratt tells Akufo-Addo
10 mins -
Age is just a number: How 60-year-old Argentine emerged Miss Universe Buenos Aires
16 mins -
GNPC new boss Joseph Abuabu Dadzie starts work today
1 hour -
Appiatse disaster: Akufo-Addo to inaugurate 120 housing units
1 hour -
DJ Vyrusky out with new song ‘Follow Who Know Road’
1 hour -
Today’s front pages: Thursday, May 2, 2024
1 hour -
Government steps up efforts to pass new Labour Law
1 hour -
Seven ECG substations in Accra flooded over Wednesday’s downpour
1 hour -
Government to distribute 1.2 million textbooks to TVET schools
1 hour -
TEWU demands government must pay all Tier-2 deductions to fund managers
2 hours -
Cedi hits GH¢14.18 to a dollar; year-to-date loss reaches 13.45%
2 hours -
Akufo-Addo’s assertion of dumsor’s end misleading, says IES
2 hours -
Ghana registers 31 fresh COVID-19 infections
2 hours -
Vote for a government committed to upholding integrity of Public Service – GLOGSAG to Civil Servants
2 hours