FR 5357 then LA 1598 at Madrid
Krakow → Madrid → Ibiza
Timetable, Madrid time
22:20FR 5357 from Krakow at the gate
19:50LA 1598 to Ibiza leaves the gatealso I2 1703, IB 1703, VY 5036, BT 5151, QR 6938, PC 7803
21 h 30 apart on the timetable, overnight
LA 1598 leaves 21 h 30 after FR 5357 arrives on the timetable: more than half a day, so not a connection we count.