FR 2767 then IB 1611 at Madrid
Prague → Madrid → Gran Canaria
Timetable, Madrid time
20:15FR 2767 from Prague at the gate
12:45IB 1611 to Gran Canaria leaves the gate
16 h 30 apart on the timetable, overnight
IB 1611 leaves 16 h 30 after FR 2767 arrives on the timetable: more than half a day, so not a connection we count.