FR 2767 then FR 2015 at Madrid
Prague → Madrid → Lanzarote
Timetable, Madrid time
09:15FR 2767 from Prague at the gate
21:55FR 2015 to Lanzarote leaves the gate
12 h 40 apart on the timetable
FR 2015 leaves 12 h 40 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.