UX 158 then EC 1294 at Madrid
Johannesburg → Madrid → Geneva
Timetable, Madrid time
05:05UX 158 from Johannesburg at the gate
20:35EC 1294 to Geneva leaves the gatealso U2 1294
15 h 30 apart on the timetable
EC 1294 leaves 15 h 30 after UX 158 arrives on the timetable: more than half a day, so not a connection we count.