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