U2 8704 then TP 1337 at Gatwick
Agadir → London → Lisbon
Timetable, London time
17:45U2 8704 from Agadir at the gate
16:00TP 1337 to Lisbon leaves the gate
22 h 15 apart on the timetable, overnight
TP 1337 leaves 22 h 15 after U2 8704 arrives on the timetable: more than half a day, so not a connection we count.