FR 347 then FR 2066 at Madrid
London Stansted → Madrid → Ibiza
Timetable, Madrid time
23:50FR 347 from London Stansted at the gate
14:40FR 2066 to Ibiza leaves the gate
14 h 50 apart on the timetable, overnight
FR 2066 leaves 14 h 50 after FR 347 arrives on the timetable: more than half a day, so not a connection we count.