FR 268 then W4 3172 at Madrid
Valletta → Madrid → Bucharest
Timetable, Madrid time
19:00FR 268 from Valletta at the gate
10:40W4 3172 to Bucharest leaves the gate
15 h 40 apart on the timetable, overnight
W4 3172 leaves 15 h 40 after FR 268 arrives on the timetable: more than half a day, so not a connection we count.