QR 3666 then IB 5956 at Barcelona
Salerno → Barcelona → Essaouira
Timetable, Barcelona time
00:30QR 3666 from Salerno at the gatealso LL 5953, VY 8359
19:00IB 5956 to Essaouira leaves the gatealso LL 5956, VY 8502
18 h 30 apart on the timetable
IB 5956 leaves 18 h 30 after QR 3666 arrives on the timetable: more than half a day, so not a connection we count.