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
-
Kwame Agbodza slams $147m e-gate system as ‘create, loot, and share’ scheme
13 minutes -
Drones deployed in Bawku to track down attackers
1 hour -
Today’s front pages: Thursday, December 19, 2024
1 hour -
ORAL: Not all corruption cases fall under the Special Prosecutor – Domelevo
2 hours -
Two dead and 65 cases of malnutrition recorded in Bawku for 2024
2 hours -
NDC’s control of major media houses gave them edge in 2024 polls, says Bawumia
2 hours -
49th SWAG Awards: High jump Queen Rose Yeboah and Grace Mintah lead nominees for topmost award
2 hours -
ORAL: ‘National Cathedral spending is an ‘expensive pit of deceit’ – Ablakwa
2 hours -
Our people didn’t vote – Bawumia explains why the NPP lost
2 hours -
Dr Bawumia had no choice given Mahama’s decisive victory – Malik Basintale
2 hours -
ORAL: ‘Clergy were misled by Akufo-Addo’ – Ablakwa on National Cathedral scandal
2 hours -
‘It is false’- PMMC refutes claims of politicians smuggling gold from Ghana
3 hours -
2 million NPP supporters did not turn up to vote – Kabiru Mahama
3 hours -
IPR Ghana congratulates citizens for peaceful election, calls for unity
3 hours -
Bawumia’s 8 minutes elite ball that zapped the energy of trigger happy politicians
4 hours