3O 377 then FR 3185 at Barcelona
Tangier → Barcelona → Rabat
Timetable, Barcelona time
18:553O 377 from Tangier at the gate
12:05FR 3185 to Rabat leaves the gate
17 h 10 apart on the timetable, overnight
FR 3185 leaves 17 h 10 after 3O 377 arrives on the timetable: more than half a day, so not a connection we count.