FR 5383 then IB 545 at Madrid
Valletta → Madrid → Porto
Timetable, Madrid time
12:20FR 5383 from Valletta at the gate
11:25IB 545 to Porto leaves the gatealso CX 1867, VY 5306, DT 6092, QR 6930, AA 8665, AA 8679
23 h 05 apart on the timetable, overnight
IB 545 leaves 23 h 05 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.