FR 5383 then UX 1145 at Madrid
Valletta → Madrid → Porto
Timetable, Madrid time
12:20FR 5383 from Valletta at the gate
10:35UX 1145 to Porto leaves the gate
22 h 15 apart on the timetable, overnight
UX 1145 leaves 22 h 15 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.