FR 5383 then IB 809 at Madrid
Valletta → Madrid → Prague
Timetable, Madrid time
20:05FR 5383 from Valletta at the gate
12:00IB 809 to Prague leaves the gatealso AA 8706
15 h 55 apart on the timetable, overnight
IB 809 leaves 15 h 55 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.