FR 2540 then I2 1609 at Madrid
Bucharest → Madrid → Gran Canaria
Timetable, Madrid time
13:55FR 2540 from Bucharest at the gate
11:55I2 1609 to Gran Canaria leaves the gatealso IB 1609
22 h apart on the timetable, overnight
I2 1609 leaves 22 h after FR 2540 arrives on the timetable: more than half a day, so not a connection we count.