3O 397 then 3O 378 at Barcelona
Rabat → Barcelona → Tangier
Timetable, Barcelona time
08:003O 397 from Rabat at the gate
20:053O 378 to Tangier leaves the gate
12 h 05 apart on the timetable
3O 378 leaves 12 h 05 after 3O 397 arrives on the timetable: more than half a day, so not a connection we count.