AT 964 then QR 3573 at Barcelona
Casablanca → Barcelona → Cagliari
Timetable, Barcelona time
11:45AT 964 from Casablanca at the gate
11:05QR 3573 to Cagliari leaves the gate
23 h 20 apart on the timetable, overnight
QR 3573 leaves 23 h 20 after AT 964 arrives on the timetable: more than half a day, so not a connection we count.