EC 7152 then LH 1811 at Barcelona
Milan → Barcelona → Munich
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
11:50LH 1811 to Munich leaves the gate
18 h 55 apart on the timetable, overnight
LH 1811 leaves 18 h 55 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.