AT 981 then AT 806 at Casablanca
Lisbon → Casablanca → London Heathrow
Timetable, Casablanca time
14:00AT 981 from Lisbon at the gate
13:35AT 806 to London Heathrow leaves the gate
23 h 35 apart on the timetable, overnight
AT 806 leaves 23 h 35 after AT 981 arrives on the timetable: more than half a day, so not a connection we count.