IB 533 then EC 7697 at Lisbon
Madrid → Lisbon → Milan
Timetable, Lisbon time
16:05IB 533 from Madrid at the gate
11:50EC 7697 to Milan leaves the gate
19 h 45 apart on the timetable, overnight
EC 7697 leaves 19 h 45 after IB 533 arrives on the timetable: more than half a day, so not a connection we count.