3O 377 then FR 5216 at Barcelona
Tangier → Barcelona → Bologna
Timetable, Barcelona time
18:553O 377 from Tangier at the gate
10:25FR 5216 to Bologna leaves the gate
15 h 30 apart on the timetable, overnight
FR 5216 leaves 15 h 30 after 3O 377 arrives on the timetable: more than half a day, so not a connection we count.