IB 537 then FR 4390 at Lisbon
Madrid → Lisbon → Marrakesh
Timetable, Lisbon time
20:05IB 537 from Madrid at the gate
16:50FR 4390 to Marrakesh leaves the gate
20 h 45 apart on the timetable, overnight
FR 4390 leaves 20 h 45 after IB 537 arrives on the timetable: more than half a day, so not a connection we count.