VY 5223 then EC 1294 at Madrid
Palma de Mallorca → Madrid → Geneva
Timetable, Madrid time
17:15VY 5223 from Palma de Mallorca at the gate
14:30EC 1294 to Geneva leaves the gate
21 h 15 apart on the timetable, overnight
EC 1294 leaves 21 h 15 after VY 5223 arrives on the timetable: more than half a day, so not a connection we count.