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