FR 3008 then AH 2007 at Madrid
Milan → Madrid → Algiers
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
12:30AH 2007 to Algiers leaves the gate
16 h 40 apart on the timetable, overnight
AH 2007 leaves 16 h 40 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.