LH 1812 then W4 6022 at Barcelona
Munich → Barcelona → Rome
Timetable, Barcelona time
15:50LH 1812 from Munich at the gate
15:15W4 6022 to Rome leaves the gate
23 h 25 apart on the timetable, overnight
W4 6022 leaves 23 h 25 after LH 1812 arrives on the timetable: more than half a day, so not a connection we count.