FR 2067 then FR 5356 at Madrid
Ibiza → Madrid → Krakow
Timetable, Madrid time
23:50FR 2067 from Ibiza at the gate
14:45FR 5356 to Krakow leaves the gate
14 h 55 apart on the timetable, overnight
FR 5356 leaves 14 h 55 after FR 2067 arrives on the timetable: more than half a day, so not a connection we count.