EC 1703 then IB 535 at Madrid
Nice → Madrid → Lisbon
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
17:40IB 535 to Lisbon leaves the gatealso LA 1535, VY 5215, DT 6112
21 h apart on the timetable, overnight
IB 535 leaves 21 h after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.