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