KM 586 then UX 1041 at Madrid
Valletta → Madrid → Rome
Timetable, Madrid time
20:40KM 586 from Valletta at the gate
12:40UX 1041 to Rome leaves the gate
16 h apart on the timetable, overnight
UX 1041 leaves 16 h after KM 586 arrives on the timetable: more than half a day, so not a connection we count.