LS 4104 then IB 986 at Gatwick
Agadir → London → Madrid
Timetable, London time
21:35LS 4104 from Agadir at the gate
19:40IB 986 to Madrid leaves the gate
22 h 05 apart on the timetable, overnight
IB 986 leaves 22 h 05 after LS 4104 arrives on the timetable: more than half a day, so not a connection we count.