QR 3522 then FR 9045 at Barcelona
Málaga → Barcelona → London Stansted
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:55FR 9045 to London Stansted leaves the gate
18 h 35 apart on the timetable
FR 9045 leaves 18 h 35 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.