FR 1063 then FR 2066 at Madrid
Warsaw Modlin → Madrid → Ibiza
Timetable, Madrid time
21:10FR 1063 from Warsaw Modlin at the gate
20:35FR 2066 to Ibiza leaves the gate
23 h 25 apart on the timetable, overnight
FR 2066 leaves 23 h 25 after FR 1063 arrives on the timetable: more than half a day, so not a connection we count.