IB 5957 then IB 5386 at Barcelona
Essaouira → Barcelona → Bologna
Timetable, Barcelona time
23:20IB 5957 from Essaouira at the gatealso LL 5957, VY 8503
11:45IB 5386 to Bologna leaves the gatealso LL 5386, VY 6110
12 h 25 apart on the timetable, overnight
IB 5386 leaves 12 h 25 after IB 5957 arrives on the timetable: more than half a day, so not a connection we count.