TP 1012 then FR 394 at Madrid
Lisbon → Madrid → Ibiza
Timetable, Madrid time
11:20TP 1012 from Lisbon at the gatealso LO 4767, JD 5418
06:25FR 394 to Ibiza leaves the gate
19 h 05 apart on the timetable, overnight
FR 394 leaves 19 h 05 after TP 1012 arrives on the timetable: more than half a day, so not a connection we count.