UX 1156 then U2 3210 at Madrid
Lisbon → Madrid → Edinburgh
Timetable, Madrid time
18:20UX 1156 from Lisbon at the gate
16:30U2 3210 to Edinburgh leaves the gate
22 h 10 apart on the timetable, overnight
U2 3210 leaves 22 h 10 after UX 1156 arrives on the timetable: more than half a day, so not a connection we count.