AH 2006 then IB 7645 at Madrid
Algiers → Madrid → Casablanca
Timetable, Madrid time
13:05AH 2006 from Algiers at the gate
13:00IB 7645 to Casablanca leaves the gate
23 h 55 apart on the timetable, overnight
IB 7645 leaves 23 h 55 after AH 2006 arrives on the timetable: more than half a day, so not a connection we count.