A3 1706 then FR 394 at Madrid
Lisbon → Madrid → Ibiza
Timetable, Madrid time
11:20A3 1706 from Lisbon at the gatealso AV 2496, AD 7270, S4 8700, MS 9420
06:40FR 394 to Ibiza leaves the gate
19 h 20 apart on the timetable, overnight
FR 394 leaves 19 h 20 after A3 1706 arrives on the timetable: more than half a day, so not a connection we count.