UX 1062 then U2 7646 at Madrid
Milan → Madrid → Lisbon
Timetable, Madrid time
20:45UX 1062 from Milan at the gatealso ME 4042, MU 4961, AM 6851, EY 7528, AD 7891
18:00U2 7646 to Lisbon leaves the gate
21 h 15 apart on the timetable, overnight
U2 7646 leaves 21 h 15 after UX 1062 arrives on the timetable: more than half a day, so not a connection we count.