FR 189 then UX 1145 at Madrid
Edinburgh → Madrid → Porto
Timetable, Madrid time
19:25FR 189 from Edinburgh at the gate
10:35UX 1145 to Porto leaves the gate
15 h 10 apart on the timetable, overnight
UX 1145 leaves 15 h 10 after FR 189 arrives on the timetable: more than half a day, so not a connection we count.