U2 3209 then UX 1141 at Madrid
Edinburgh → Madrid → Porto
Timetable, Madrid time
19:30U2 3209 from Edinburgh at the gate
19:05UX 1141 to Porto leaves the gatealso KU 6048, SK 8376
23 h 35 apart on the timetable, overnight
UX 1141 leaves 23 h 35 after U2 3209 arrives on the timetable: more than half a day, so not a connection we count.