IB 782 then FR 394 at Madrid
Berlin → Madrid → Ibiza
Timetable, Madrid time
14:50IB 782 from Berlin at the gatealso VY 5083, AA 8506
06:30FR 394 to Ibiza leaves the gate
15 h 40 apart on the timetable, overnight
FR 394 leaves 15 h 40 after IB 782 arrives on the timetable: more than half a day, so not a connection we count.