FR 2018 then FR 2513 at Madrid
Lanzarote → Madrid → Bucharest
Timetable, Madrid time
23:30FR 2018 from Lanzarote at the gate
14:30FR 2513 to Bucharest leaves the gate
15 h apart on the timetable, overnight
FR 2513 leaves 15 h after FR 2018 arrives on the timetable: more than half a day, so not a connection we count.