BA 2809 then EC 8631 at Gatwick
Agadir → London → Berlin
Timetable, London time
15:50BA 2809 from Agadir at the gate
14:35EC 8631 to Berlin leaves the gate
22 h 45 apart on the timetable, overnight
EC 8631 leaves 22 h 45 after BA 2809 arrives on the timetable: more than half a day, so not a connection we count.