IB 5957 then IB 2601 at Barcelona
Essaouira → Barcelona → Buenos Aires
Timetable, Barcelona time
01:05IB 5957 from Essaouira at the gatealso LL 5957, VY 8503
00:30IB 2601 to Buenos Aires leaves the gatealso LL 2601, AY 5351, QR 7231
23 h 25 apart on the timetable, overnight
IB 2601 leaves 23 h 25 after IB 5957 arrives on the timetable: more than half a day, so not a connection we count.