IB 982 then A3 1777 at Madrid
Napoli → Madrid → Lisbon
Timetable, Madrid time
08:45IB 982 from Napoli at the gate
21:10A3 1777 to Lisbon leaves the gate
12 h 25 apart on the timetable
A3 1777 leaves 12 h 25 after IB 982 arrives on the timetable: more than half a day, so not a connection we count.