EC 7152 then LL 5122 at Barcelona
Milan → Barcelona → Munich
Timetable, Barcelona time
14:25EC 7152 from Milan at the gate
14:00LL 5122 to Munich leaves the gate
23 h 35 apart on the timetable, overnight
LL 5122 leaves 23 h 35 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.