BA 779 then AT 801 at Heathrow
Stockholm → London → Casablanca
Timetable, London time
17:15BA 779 from Stockholm at the gate
17:10AT 801 to Casablanca leaves the gate
23 h 55 apart on the timetable, overnight
AT 801 leaves 23 h 55 after BA 779 arrives on the timetable: more than half a day, so not a connection we count.