EC 7154 then 3O 642 at Barcelona
Milan → Barcelona → Tangier
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
20:003O 642 to Tangier leaves the gate
20 h 45 apart on the timetable, overnight
3O 642 leaves 20 h 45 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.