IB 7643 then FR 2766 at Madrid
Casablanca → Madrid → Prague
Timetable, Madrid time
18:05IB 7643 from Casablanca at the gate
17:35FR 2766 to Prague leaves the gate
23 h 30 apart on the timetable, overnight
FR 2766 leaves 23 h 30 after IB 7643 arrives on the timetable: more than half a day, so not a connection we count.