IB 5957 then QR 3618 at Barcelona
Essaouira → Barcelona → Santander
Timetable, Barcelona time
23:20IB 5957 from Essaouira at the gatealso LL 5957, VY 8503
19:20QR 3618 to Santander leaves the gate
20 h apart on the timetable, overnight
QR 3618 leaves 20 h after IB 5957 arrives on the timetable: more than half a day, so not a connection we count.