FR 7070 then I2 1699 at Madrid
Gdansk → Madrid → Ibiza
Timetable, Madrid time
19:55FR 7070 from Gdansk at the gate
15:45I2 1699 to Ibiza leaves the gate
19 h 50 apart on the timetable, overnight
I2 1699 leaves 19 h 50 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.