FR 2018 then FR 394 at Madrid
Lanzarote → Madrid → Ibiza
Timetable, Madrid time
12:10FR 2018 from Lanzarote at the gate
06:40FR 394 to Ibiza leaves the gate
18 h 30 apart on the timetable, overnight
FR 394 leaves 18 h 30 after FR 2018 arrives on the timetable: more than half a day, so not a connection we count.