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
-
Stress doesn’t just affect your bladder. It can hijack your overall health
2 hours -
ASFC 2025: ‘I look up to Neymar’ – Ghanaian youngster John Andor
2 hours -
The dilemma of Mohammed Kudus: Prestige in Europe or big money in Saudi Arabia?
3 hours -
ASFC 2025: ‘We didn’t come to play’ – Ghana coach cautions South Africa ahead of semis clash
3 hours -
ASFC 2025: Ghana boys face last year champions Tanzania in semifinals
3 hours -
ASFC 2025: Ghana girls set up semis clash with defending champions South Africa
4 hours -
Tanzania bans South Africa and Malawi imports as trade row escalates
4 hours -
China tells Trump: If you want trade talks, cancel tariffs
4 hours -
Gwyneth Paltrow eating bread and pasta after ‘hardcore’ food regime
5 hours -
Strong Institutions, not Strong Men: UPSA forum urges tech-driven reforms to curb tax revenue leakages
5 hours -
Police fatally shoot man at Toronto’s international airport
5 hours -
Health of Brazil’s ex-president Bolsonaro has worsened, doctors say
5 hours -
Ghana is not broke, it is bleeding- UPSA’s Prof. Boadi calls for bold action on tax leakages
5 hours -
Harry and Meghan call for stronger social media protections for children
5 hours -
Rotaract District 9104 concludes inspiring District Learning Assembly & Conference 2025 in Takoradi
5 hours