Pedri's goal was his fifth in La Liga this season
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 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.
- Line-upsMatch StatsLive Text
- 13Gazzaniga4MartinezBooked at 74mins2Bernardo15Ramírez LópezSubstituted forMartínat 81'minutes3Gutiérrez20CoutoSubstituted forVilla Suárezat 70'minutes18Romeu14García17RiquelmeSubstituted forRocaat 81'minutes21HerreraSubstituted forFernándezat 59'minutes9CastellanosBooked at 44minsSubstituted forStuaniat 70'minutes
- 1Martín7Stuani8Tsygankov11Fernández12Villa Suárez16Hernández Cabrera23Martín24García25Callens26Fuidias33Roca
1ter Stegen23Koundé4Araújo24García17Alonso30Gavi5Busquets21F de Jong22Raphinha10Ansu Fati7Dembélé
- 1ter Stegen23Koundé4Araújo24García17AlonsoSubstituted forAlbaat 45'minutes30GaviBooked at 49mins5Busquets21F de Jong22RaphinhaSubstituted forKessieat 88'minutes10Ansu FatiBooked at 43minsSubstituted forBaldeat 81'minutes7DembéléSubstituted forPedriat 26'minutesBooked at 45mins
- 2Bellerín8Pedri13Peña Sotorres15Christensen18Alba19Kessie20Roberto28Balde31Astralaga32Torre38Alarcón
Referee:Alejandro Muñiz RuizAttendance:13,402Match StatsHome TeamGironaAway TeamBarcelonaPossessionHome40%Away60%ShotsHome8Away8Shots on TargetHome2Away3CornersHome4Away2FoulsHome10Away15Live Text Post update
Match ends, Girona 0, Barcelona 1.
Second Half ends, Girona 0, Barcelona 1.
Attempt saved. Cristhian Stuani (Girona) header from the centre of the box is saved in the bottom left corner. Assisted by Arnau Martinez with a cross.
Foul by Frenkie de Jong (Barcelona).
Arnau Martinez (Girona) wins a free kick in the defensive half.
Offside, Girona. Aleix García tries a through ball, but Arnau Martinez is caught offside.
Foul by Pedri (Barcelona).
Aleix García (Girona) wins a free kick on the right wing.
Offside, Girona. Paulo Gazzaniga tries a through ball, but Arnau Martinez is caught offside.
Corner, Girona. Conceded by Jordi Alba.
Foul by Alejandro Balde (Barcelona).
Joel Roca (Girona) wins a free kick in the defensive half.
Attempt missed. Joel Roca (Girona) right footed shot from a difficult angle on the right misses to the right. Assisted by Valery Fernández with a cross.
Substitution, Barcelona. Franck Kessie replaces Raphinha.
Attempt missed. Iván Martín (Girona) left footed shot from the centre of the box misses to the right. Assisted by Aleix García with a cross.
Attempt saved. Toni Villa (Girona) right footed shot from outside the box is saved in the centre of the goal. Assisted by Joel Roca with a headed pass.
Foul by Alejandro Balde (Barcelona).
Joel Roca (Girona) wins a free kick on the right wing.
Substitution, Barcelona. Alejandro Balde replaces Ansu Fati.
Substitution, Girona. Iván Martín replaces Juanpe.
Page 1 of 6rewindpreviousNavigate to the next pagenextNavigate to the last pageforward