FR 5377 then FR 267 at Madrid
Brussels Charleroi → Madrid → Valletta
Timetable, Madrid time
13:15FR 5377 from Brussels Charleroi at the gate
13:00FR 267 to Valletta leaves the gate
23 h 45 apart on the timetable, overnight
FR 267 leaves 23 h 45 after FR 5377 arrives on the timetable: more than half a day, so not a connection we count.