FR 5383 then FR 9472 at Madrid
Valletta → Madrid → Pisa
Timetable, Madrid time
20:05FR 5383 from Valletta at the gate
12:35FR 9472 to Pisa leaves the gate
16 h 30 apart on the timetable, overnight
FR 9472 leaves 16 h 30 after FR 5383 arrives on the timetable: more than half a day, so not a connection we count.