FR 268 then FR 6410 at Madrid
Valletta → Madrid → Sofia
Timetable, Madrid time
19:00FR 268 from Valletta at the gate
12:30FR 6410 to Sofia leaves the gate
17 h 30 apart on the timetable, overnight
FR 6410 leaves 17 h 30 after FR 268 arrives on the timetable: more than half a day, so not a connection we count.