HV 5951 then AT 981 at Lisbon
Amsterdam → Lisbon → Casablanca
Timetable, Lisbon time
18:50HV 5951 from Amsterdam at the gate
12:35AT 981 to Casablanca leaves the gate
17 h 45 apart on the timetable, overnight
AT 981 leaves 17 h 45 after HV 5951 arrives on the timetable: more than half a day, so not a connection we count.