U2 8704 then U2 8059 at Gatwick
Agadir → London → Barcelona
Timetable, London time
22:45U2 8704 from Agadir at the gate
17:55U2 8059 to Barcelona leaves the gate
19 h 10 apart on the timetable, overnight
U2 8059 leaves 19 h 10 after U2 8704 arrives on the timetable: more than half a day, so not a connection we count.