FR 3012 then FR 2017 at Madrid
Palma de Mallorca → Madrid → Lanzarote
Timetable, Madrid time
09:50FR 3012 from Palma de Mallorca at the gate
06:15FR 2017 to Lanzarote leaves the gate
20 h 25 apart on the timetable, overnight
FR 2017 leaves 20 h 25 after FR 3012 arrives on the timetable: more than half a day, so not a connection we count.