FR 5898 then I2 1509 at Madrid
Torino → Madrid → Lanzarote
Timetable, Madrid time
17:35FR 5898 from Torino at the gate
16:00I2 1509 to Lanzarote leaves the gatealso IB 1509
22 h 25 apart on the timetable, overnight
I2 1509 leaves 22 h 25 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.