FR 347 then I2 1703 at Madrid
London Stansted → Madrid → Ibiza
Timetable, Madrid time
23:50FR 347 from London Stansted at the gate
19:55I2 1703 to Ibiza leaves the gatealso IB 1703
20 h 05 apart on the timetable, overnight
I2 1703 leaves 20 h 05 after FR 347 arrives on the timetable: more than half a day, so not a connection we count.