KM 586 then W4 3174 at Madrid
Valletta → Madrid → Bucharest
Timetable, Madrid time
20:40KM 586 from Valletta at the gate
18:35W4 3174 to Bucharest leaves the gate
21 h 55 apart on the timetable, overnight
W4 3174 leaves 21 h 55 after KM 586 arrives on the timetable: more than half a day, so not a connection we count.