FR 5322 then UX 1665 at Madrid
Milan → Madrid → Geneva
Timetable, Madrid time
19:45FR 5322 from Milan at the gate
15:35UX 1665 to Geneva leaves the gate
19 h 50 apart on the timetable, overnight
UX 1665 leaves 19 h 50 after FR 5322 arrives on the timetable: more than half a day, so not a connection we count.