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