German midfielder Ouahim notched a goal and two assists off the bench to help the Sky Blues conquer their rivals in a thrilling Unite Round clash in front of 30,777 fans at Allianz Stadium.
With scores level, Ouahim first set up Jordan Courtney-Perkins with a classy free kick in the 48th minute to help launch his side ahead on Saturday night.
A poor tackle by Anthony Pantazopoulos on Sydney captain Rhyan Grant in the penalty area then opened the door for Ouahim to pile on the pain in the 54th.
Sydney FC re-take the lead in the Sydney Derby - and the limbs are OFF THE CHARTS 😵🙌— Isuzu UTE A-League (@aleaguemen) Jordan Courtney-Perkins sends The Cove wild!Watch #SYDvWSW live now on Paramount+ & 10 Bold. pic.twitter.com/bXzNyflAGiNovember 23, 2024
Marcus Antonsson breathed some life into the Wanderers heading home a corner in the 78th but Sky Blues sharpshooter Patryk Klimala's goal five minutes later crushed the comeback.
"I know Anas wouldn't have liked to be sitting on the bench, but I thought he did well when he came on," Sydney coach Ufuk Talay said.
"It's important that when players are not playing that they don't bring the sad face, because sad face doesn't help them.
"Anas is not that type of player. Yes, he was definitely disappointed that he didn't start the game, but he came on and he did his job well."
The Sky Blues can finish in the top six by the end of the round, with three wins and two draws.
Meanwhile, the Wanderers (four points) remain tenth after suffering their fourth-straight derby defeat.
"Our resilience at the back isn't good enough. It's nowhere near good enough," Western Sydney coach Alen Stajcic said.
"We can't be scoring two, three, four goals a game and still be on the receiving end of poor results.
"We have to fix up that part of our resilience for sure."
Joe Lolley announced his return from a groin injury by nabbing the opener in the 33rd minute.
Adrian Segecic had outpaced 194cm-tall Wanderers defender Jeong Tae-Wook to set up Klimala.
The Polish striker's attempt was snuffed out but the rebound landed favourably for Lolley, who slotted easily.
Lolley celebrated with a golf swing, cheekily alluding to the shared golfing session with Wanderers rivals Juan Mata and Antonsson in the lead-up to the match.
Players involved in the golf catch-up, including Courtney-Perkins and former Sydney captain Luke Brattan, had been accused of not taking the derby seriously.
Tempers flared during the Unite Round clash between Sydney FC and the Wanderers. (Mark Evans/AAP PHOTOS)
But the two sides proved their on-field passion late in the first half after Socceroos striker Brandon Borrello fouled Leo Sena.
Goaded on by Borrello, Douglas Costa responded by pushing his opponent to ground, sparking the skirmish, and both were shown yellow cards.
Costa was also returning from injury, playing in his second-ever ALM game after picking up a hamstring issue following round one.
Zach Sapsford, still sporting a protective mask, then levelled three minutes into first-half added time finishing off a classy pass from Nicolas Milanovic.
Sapsford at the back post! 🔥— Paramount+ Australia (@ParamountPlusAU) The Wanderers find an equaliser on the stroke of halftime right in front of The Cove! 😬#SYDvWSW Live on Paramount+ 📺 pic.twitter.com/tkSq0Cr9zQNovember 23, 2024
The Wanderers were determined to make the most of Sapsford's goal but Ouahim, joining the fray in place of Costa at the start of the second half, had other plans.
Western Sydney substitute Antonsson bungled what would've been a massive opportunity after intercepting a Borello pass meant for Mata.
The Spaniard, also a sub, was in prime position to strike in the 65th minute but Antonsson misread the situation, handing off to Aydan Hammond - who failed to score.