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
Line-upsGirona
Formation 4-4-2
13Gazzaniga4Martinez2Bernardo15RamÃrez López3Gutiérrez20Couto18Romeu14GarcÃa17Riquelme21Herrera9Castellanos
- 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
Substitutes
- 1MartÃn7Stuani8Tsygankov11Fernández12Villa Suárez16Hernández Cabrera23MartÃn24GarcÃa25Callens26Fuidias33Roca
Barcelona
Formation 4-3-3
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
Substitutes
- 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.
90'+7'Full Time
Second Half ends, Girona 0, Barcelona 1.
90'+6'Post update
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.
90'+6'Post update
Foul by Frenkie de Jong (Barcelona).
90'+6'Post update
Arnau Martinez (Girona) wins a free kick in the defensive half.
90'+5'Post update
Offside, Girona. Aleix GarcÃa tries a through ball, but Arnau Martinez is caught offside.
90'+4'Post update
Foul by Pedri (Barcelona).
90'+4'Post update
Aleix GarcÃa (Girona) wins a free kick on the right wing.
90'+2'Post update
Offside, Girona. Paulo Gazzaniga tries a through ball, but Arnau Martinez is caught offside.
90'+1'Post update
Corner, Girona. Conceded by Jordi Alba.
90'Post update
Foul by Alejandro Balde (Barcelona).
90'Post update
Joel Roca (Girona) wins a free kick in the defensive half.
89'Post update
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.
88'Substitution
Substitution, Barcelona. Franck Kessie replaces Raphinha.
86'Post update
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.
85'Post update
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.
82'Post update
Foul by Alejandro Balde (Barcelona).
82'Post update
Joel Roca (Girona) wins a free kick on the right wing.
81'Substitution
Substitution, Barcelona. Alejandro Balde replaces Ansu Fati.
81'Substitution
Substitution, Girona. Iván MartÃn replaces Juanpe.
Page 1 of 6rewindpreviousNavigate to the next pagenextNavigate to the last pageforward
Source: bbc.com