FR 2016 then FR 2066 at Madrid
Lanzarote → Madrid → Ibiza
Timetable, Madrid time
16:30FR 2016 from Lanzarote at the gate
14:40FR 2066 to Ibiza leaves the gate
22 h 10 apart on the timetable, overnight
FR 2066 leaves 22 h 10 after FR 2016 arrives on the timetable: more than half a day, so not a connection we count.