EC 8064 then BY 356 at Gatwick
Barcelona → London → Agadir
Timetable, London time
14:15EC 8064 from Barcelona at the gate
08:50BY 356 to Agadir leaves the gate
18 h 35 apart on the timetable, overnight
BY 356 leaves 18 h 35 after EC 8064 arrives on the timetable: more than half a day, so not a connection we count.