BA 2661 then BA 2820 at Gatwick
Faro → London → Rabat
Timetable, London time
13:10BA 2661 from Faro at the gate
12:45BA 2820 to Rabat leaves the gate
23 h 35 apart on the timetable, overnight
BA 2820 leaves 23 h 35 after BA 2661 arrives on the timetable: more than half a day, so not a connection we count.