FR 4584 then LH 1813 at Barcelona
Porto → Barcelona → Munich
Timetable, Barcelona time
18:55FR 4584 from Porto at the gate
15:20LH 1813 to Munich leaves the gate
20 h 25 apart on the timetable, overnight
LH 1813 leaves 20 h 25 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.