AT 970 then FR 2766 at Madrid
Casablanca → Madrid → Prague
Timetable, Madrid time
18:05AT 970 from Casablanca at the gate
09:50FR 2766 to Prague leaves the gate
15 h 45 apart on the timetable, overnight
FR 2766 leaves 15 h 45 after AT 970 arrives on the timetable: more than half a day, so not a connection we count.