Pedri scored in the 82nd minute against Ferencvaros and it was his first goal as a Barca player. The 17 year old netted after fine work by Ousmane Dembele on the right flank.
The Canarian replaced Ansu Fati in the 63rd minute and made a good impact from the bench. He became the club's third youngest scorer in the competition, after Fati, 17 years and 40 days, Bojan, 17 years and 217 days.
Pedri turns 18 on November 25 - he is 17 and 330 days old. Messi netted his first European goal at 18 years and 131 days, by comparison.
It's the first time in Champions League history that two under 18s - Ansu and Pedri - have scored in the same game.