3O 377 then IB 5988 at Barcelona
Tangier → Barcelona → Cairo
Timetable, Barcelona time
18:553O 377 from Tangier at the gate
14:10IB 5988 to Cairo leaves the gatealso LL 5988, VY 8592
19 h 15 apart on the timetable, overnight
IB 5988 leaves 19 h 15 after 3O 377 arrives on the timetable: more than half a day, so not a connection we count.