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