FR 5515 then LX 2027 at Madrid
Krakow → Madrid → Zurich
Timetable, Madrid time
10:55FR 5515 from Krakow at the gate
10:05LX 2027 to Zurich leaves the gate
23 h 10 apart on the timetable, overnight
LX 2027 leaves 23 h 10 after FR 5515 arrives on the timetable: more than half a day, so not a connection we count.