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