FR 3877 then FR 5462 at Madrid
Tangier → Madrid → Brussels Charleroi
Timetable, Madrid time
22:35FR 3877 from Tangier at the gate
14:45FR 5462 to Brussels Charleroi leaves the gate
16 h 10 apart on the timetable, overnight
FR 5462 leaves 16 h 10 after FR 3877 arrives on the timetable: more than half a day, so not a connection we count.