FR 2016 then FR 2766 at Madrid
Lanzarote → Madrid → Prague
Timetable, Madrid time
20:15FR 2016 from Lanzarote at the gate
10:05FR 2766 to Prague leaves the gate
13 h 50 apart on the timetable, overnight
FR 2766 leaves 13 h 50 after FR 2016 arrives on the timetable: more than half a day, so not a connection we count.