AC 2689 then FR 394 at Madrid
Lisbon → Madrid → Ibiza
Timetable, Madrid time
14:05AC 2689 from Lisbon at the gatealso UA 6855, AD 7312, S4 8694
06:30FR 394 to Ibiza leaves the gate
16 h 25 apart on the timetable, overnight
FR 394 leaves 16 h 25 after AC 2689 arrives on the timetable: more than half a day, so not a connection we count.