FR 5898 then I2 1615 at Madrid
Torino → Madrid → Gran Canaria
Timetable, Madrid time
15:10FR 5898 from Torino at the gate
14:25I2 1615 to Gran Canaria leaves the gate
23 h 15 apart on the timetable, overnight
I2 1615 leaves 23 h 15 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.