IB 1142 then EC 1704 at Madrid
Lisbon → Madrid → Nice
Timetable, Madrid time
14:55IB 1142 from Lisbon at the gatealso LA 1659, QR 5363, VY 5742, AA 8737
13:10EC 1704 to Nice leaves the gate
22 h 15 apart on the timetable, overnight
EC 1704 leaves 22 h 15 after IB 1142 arrives on the timetable: more than half a day, so not a connection we count.