AV 2485 then FR 9430 at Madrid
Lisbon → Madrid → Marrakesh
Timetable, Madrid time
17:10AV 2485 from Lisbon at the gate
13:10FR 9430 to Marrakesh leaves the gate
20 h apart on the timetable, overnight
FR 9430 leaves 20 h after AV 2485 arrives on the timetable: more than half a day, so not a connection we count.