AT 964 then FR 3166 at Barcelona
Casablanca → Barcelona → Palermo
Timetable, Barcelona time
11:45AT 964 from Casablanca at the gate
08:30FR 3166 to Palermo leaves the gate
20 h 45 apart on the timetable, overnight
FR 3166 leaves 20 h 45 after AT 964 arrives on the timetable: more than half a day, so not a connection we count.