AH 2006 then AD 7271 at Madrid
Algiers → Madrid → Lisbon
Timetable, Madrid time
13:05AH 2006 from Algiers at the gate
12:10AD 7271 to Lisbon leaves the gatealso S4 8699
23 h 05 apart on the timetable, overnight
AD 7271 leaves 23 h 05 after AH 2006 arrives on the timetable: more than half a day, so not a connection we count.