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