AT 960 then FR 4585 at Barcelona
Casablanca → Barcelona → Porto
Timetable, Barcelona time
18:10AT 960 from Casablanca at the gate
06:55FR 4585 to Porto leaves the gate
12 h 45 apart on the timetable, overnight
FR 4585 leaves 12 h 45 after AT 960 arrives on the timetable: more than half a day, so not a connection we count.