I2 1700 then FR 5356 at Madrid
Ibiza → Madrid → Krakow
Timetable, Madrid time
17:10I2 1700 from Ibiza at the gatealso IB 1700
17:00FR 5356 to Krakow leaves the gate
23 h 50 apart on the timetable, overnight
FR 5356 leaves 23 h 50 after I2 1700 arrives on the timetable: more than half a day, so not a connection we count.