FR 3040 then VY 1164 at Barcelona
Prague → Barcelona → Munich
Timetable, Barcelona time
22:40FR 3040 from Prague at the gate
18:10VY 1164 to Munich leaves the gatealso IB 5084, LL 5084
19 h 30 apart on the timetable, overnight
VY 1164 leaves 19 h 30 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.