EC 8628 then BA 2808 at Gatwick
Berlin → London → Agadir
Timetable, London time
08:05EC 8628 from Berlin at the gate
07:30BA 2808 to Agadir leaves the gate
23 h 25 apart on the timetable, overnight
BA 2808 leaves 23 h 25 after EC 8628 arrives on the timetable: more than half a day, so not a connection we count.