FR 5383 then FR 5995 at Madrid
Valletta → Madrid → London Stansted
Timetable, Madrid time
20:05FR 5383 from Valletta at the gate
10:20FR 5995 to London Stansted leaves the gate
14 h 15 apart on the timetable, overnight
FR 5995 leaves 14 h 15 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.