AD 6900 then FR 9440 at Madrid
Gran Canaria → Madrid → Lisbon
Timetable, Madrid time
20:05AD 6900 from Gran Canaria at the gatealso UX 9020
16:15FR 9440 to Lisbon leaves the gate
20 h 10 apart on the timetable, overnight
FR 9440 leaves 20 h 10 after AD 6900 arrives on the timetable: more than half a day, so not a connection we count.