FR 2018 then IB 381 at Madrid
Lanzarote → Madrid → San Juan
Timetable, Madrid time
23:30FR 2018 from Lanzarote at the gate
12:35IB 381 to San Juan leaves the gate
13 h 05 apart on the timetable, overnight
IB 381 leaves 13 h 05 after FR 2018 arrives on the timetable: more than half a day, so not a connection we count.