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
-
Highlife legend Daddy Lumba pass away at 59
3 minutes -
Music icon Daddy Lumba dead
12 minutes -
Ghana’s Koogo Atia wins men’s 42km as Kenya’s Nancy Githaiga claim women’s title at 2025 Absa Black Star Marathon
18 minutes -
Raphael Botsyo Nkegbe dominates wheelchair 42km race at Absa Black Star Marathon
49 minutes -
Deloitte Africa unpacks Mid-Year Budget Review – Watch Yaw Lartey’s full analysis
54 minutes -
Take politics out of anti-corruption institutions – Dr Oduro Osae
1 hour -
President Mahama hails Black Star Marathon as key to Ghana’s tourism growth
2 hours -
Ghanaian community in Côte d’Ivoire pushes for Chamber of Commerce to boost cross-border trade
2 hours -
The Joshua of Our Time: Why Dr Bryan Acheampong is the right leader to guide the NPP into its promised future
2 hours -
Public Financial Management Act must be enforced – Yaw Appiah Lartey on damning Auditor‑General’s findings
2 hours -
Absa Bank Ghana hosts Youth Festival to empower young entrepreneurs
2 hours -
WPRD Festival 2025 closes with PR fireside chat on leadership
2 hours -
Afrofuture and WatsUp TV launch nationwide Rising Star Challenge on university campuses
3 hours -
Auditor-General report: Heads must roll among technical officers, not just politicians – Dr. Eric Oduro Osae
3 hours -
Ghana must rethink internal audit to defeat corruption
3 hours