FR 5383 then QS 1057 at Madrid
Valletta → Madrid → Prague
Timetable, Madrid time
20:05FR 5383 from Valletta at the gate
13:55QS 1057 to Prague leaves the gate
17 h 50 apart on the timetable, overnight
QS 1057 leaves 17 h 50 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.