IB 982 then EC 1704 at Madrid
Napoli → Madrid → Nice
Timetable, Madrid time
08:45IB 982 from Napoli at the gatealso LA 1845, VY 5340, AA 8561
21:20EC 1704 to Nice leaves the gate
12 h 35 apart on the timetable
EC 1704 leaves 12 h 35 after IB 982 arrives on the timetable: more than half a day, so not a connection we count.