U2 3217 then 3O 378 at Barcelona
Edinburgh → Barcelona → Tangier
Timetable, Barcelona time
18:40U2 3217 from Edinburgh at the gate
08:403O 378 to Tangier leaves the gate
14 h apart on the timetable, overnight
3O 378 leaves 14 h after U2 3217 arrives on the timetable: more than half a day, so not a connection we count.