IB 52 then UX 1665 at Madrid
Málaga → Madrid → Geneva
Timetable, Madrid time
15:30IB 52 from Málaga at the gate
15:25UX 1665 to Geneva leaves the gate
23 h 55 apart on the timetable, overnight
UX 1665 leaves 23 h 55 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.