W4 3173 then FR 2015 at Madrid
Bucharest → Madrid → Lanzarote
Timetable, Madrid time
17:50W4 3173 from Bucharest at the gate
14:15FR 2015 to Lanzarote leaves the gate
20 h 25 apart on the timetable, overnight
FR 2015 leaves 20 h 25 after W4 3173 arrives on the timetable: more than half a day, so not a connection we count.