3O 377 then VY 1162 at Barcelona
Tangier → Barcelona → Munich
Timetable, Barcelona time
14:003O 377 from Tangier at the gate
12:55VY 1162 to Munich leaves the gatealso IB 5122
22 h 55 apart on the timetable, overnight
VY 1162 leaves 22 h 55 after 3O 377 arrives on the timetable: more than half a day, so not a connection we count.