AC 2683 then IB 1217 at Madrid
Lisbon → Madrid → Nice
Timetable, Madrid time
09:30AC 2683 from Lisbon at the gate
22:00IB 1217 to Nice leaves the gatealso LA 1727, VY 5534, QR 6577
12 h 30 apart on the timetable
IB 1217 leaves 12 h 30 after AC 2683 arrives on the timetable: more than half a day, so not a connection we count.