Riding for Kevin Ryan, Stott had his mount smartly away in the six-furlong heat, opting to stick down the middle of the track as the 10-strong field split into three groups in the early stages.
Sands Of Mali was prominent as he ploughed a lone furrow on the far side, with Hello Youmzain heading the group in the middle before tacking over to the stands rail after around three furlongs.
The race duly unfolded on that side, with Frankie Dettori - seeking a fourth win on the day - launching his challenge on 2-1 favourite Sceptical and briefly taking the lead with around a furlong to run.
However, Hello Youmzain dug deep and edged back in front, repelling the challenge of the fast-finishing Dream Of Dreams in the process.
Just a head separated the pair at the line, with a further neck back to Sceptical, with the trio pulling a length and a quarter clear of the rest.
Hey Jonesy completed a big sprint double for jockey Stott and trainer Ryan in hanging on for victory in the Wokingham Handicap at Royal Ascot.
After claiming the Group One Diamond Jubilee Stakes on Hello Youmzain just 35 minutes earlier, Stott and Ryan teamed up to take the feature six-furlong handicap of the week.
The field split into two groups and it was the far side that had the upper hand from the start. Hey Jonesy (18-1) was on the favoured part from stall 10 and led in the final furlong.
However, he was left needing the winning post badly as Summerghand (15-2) came from the stands side to claw back the deficit and just fail. Spanish City (16-1) was third, with Gulliver (12-1) fourth.