Dani Olmo scored a debut winner just hours after finally being registered for Barcelona as Hansi Flick's side came from behind to keep up their winning start to La Liga.
Olmo rejoined Barca from RB Leipzig for a reported 60m euros (£51m) earlier this month but could not play because of the Spanish top-flight's strict financial rules.
But after Ilkay Gundogan was released back to Manchester City, and defender Clement Lenglet moved to Atletico Madrid, the 26-year-old was able to feature at Rayo Vallecano.
And the playmaker found the winner late on, curling in left-footed after great work from fellow Spain Euro 2024 hero Lamine Yamal.
Barca top La Liga after playing three games and are the only side still with a 100% record.
Unai Lopez gave the home side an early lead which they held until the hour mark, when Pedri played a fine one-two with Raphinha and stroked in.
Olmo, who was at Barcelona as a boy but left for Dinamo Zagreb at the age of 16 without making an appearance, then stole the points and the headlines with his fantastic finish.
Latest Stories
-
Trump picks Pam Bondi as attorney general after Matt Gaetz withdraws
5 mins -
Providing quality seeds to farmers is first step towards achieving food security in Ghana
10 mins -
Give direct access to Global Health Fund – Civil Society calls allocations
3 hours -
Trudeau plays Santa with seasonal tax break
3 hours -
Prince Harry jokes in tattoo sketch for Invictus
4 hours -
Akufo-Addo commissions 200MW plant to boost economic growth
4 hours -
Smallholder farmers to make use of Ghana Commodity Exchange
4 hours -
I want to focus more on my education – Chidimma Adetshina quits pageantry
4 hours -
Priest replaced after Sabrina Carpenter shoots music video in his church
5 hours -
Duct-taped banana artwork sells for $6.2m in NYC
5 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
5 hours -
Actors Jonathan Majors and Meagan Good are engaged
5 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
5 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
5 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
6 hours