FR 268 then W4 6012 at Madrid
Valletta → Madrid → Rome
Timetable, Madrid time
19:00FR 268 from Valletta at the gate
09:25W4 6012 to Rome leaves the gate
14 h 25 apart on the timetable, overnight
W4 6012 leaves 14 h 25 after FR 268 arrives on the timetable: more than half a day, so not a connection we count.