FR 689 then FR 5993 at Madrid
Vienna → Madrid → London Stansted
Timetable, Madrid time
19:00FR 689 from Vienna at the gate
13:20FR 5993 to London Stansted leaves the gate
18 h 20 apart on the timetable, overnight
FR 5993 leaves 18 h 20 after FR 689 arrives on the timetable: more than half a day, so not a connection we count.