RO 415 then FR 267 at Madrid
Bucharest → Madrid → Valletta
Timetable, Madrid time
12:40RO 415 from Bucharest at the gate
10:00FR 267 to Valletta leaves the gate
21 h 20 apart on the timetable, overnight
FR 267 leaves 21 h 20 after RO 415 arrives on the timetable: more than half a day, so not a connection we count.