UX 1140 then EC 1294 at Madrid
Porto → Madrid → Geneva
Timetable, Madrid time
18:15UX 1140 from Porto at the gatealso AM 6853, EY 7521, AD 7870
14:30EC 1294 to Geneva leaves the gate
20 h 15 apart on the timetable, overnight
EC 1294 leaves 20 h 15 after UX 1140 arrives on the timetable: more than half a day, so not a connection we count.