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