FR 5377 then FR 2766 at Madrid
Brussels Charleroi → Madrid → Prague
Timetable, Madrid time
13:35FR 5377 from Brussels Charleroi at the gate
10:05FR 2766 to Prague leaves the gate
20 h 30 apart on the timetable, overnight
FR 2766 leaves 20 h 30 after FR 5377 arrives on the timetable: more than half a day, so not a connection we count.