LO 4766 then FR 394 at Madrid
Lisbon → Madrid → Ibiza
Timetable, Madrid time
17:10LO 4766 from Lisbon at the gate
13:20FR 394 to Ibiza leaves the gate
20 h 10 apart on the timetable, overnight
FR 394 leaves 20 h 10 after LO 4766 arrives on the timetable: more than half a day, so not a connection we count.