FR 574 then AT 965 at Barcelona
Bologna → Barcelona → Casablanca
Timetable, Barcelona time
20:15FR 574 from Bologna at the gate
12:45AT 965 to Casablanca leaves the gate
16 h 30 apart on the timetable, overnight
AT 965 leaves 16 h 30 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.