FR 2776 then AT 971 at Madrid
Palma de Mallorca → Madrid → Casablanca
Timetable, Madrid time
00:50FR 2776 from Palma de Mallorca at the gate
19:05AT 971 to Casablanca leaves the gate
18 h 15 apart on the timetable
AT 971 leaves 18 h 15 after FR 2776 arrives on the timetable: more than half a day, so not a connection we count.