UX 1060 then U2 7646 at Madrid
Milan → Madrid → Lisbon
Timetable, Madrid time
18:10UX 1060 from Milan at the gatealso AM 6846, EY 7527, AD 7890
18:00U2 7646 to Lisbon leaves the gate
23 h 50 apart on the timetable, overnight
U2 7646 leaves 23 h 50 after UX 1060 arrives on the timetable: more than half a day, so not a connection we count.