AD 6900 then IB 1145 at Madrid
Gran Canaria → Madrid → Lisbon
Timetable, Madrid time
20:05AD 6900 from Gran Canaria at the gatealso UX 9020
19:40IB 1145 to Lisbon leaves the gatealso LA 1670, VY 5748
23 h 35 apart on the timetable, overnight
IB 1145 leaves 23 h 35 after AD 6900 arrives on the timetable: more than half a day, so not a connection we count.