FR 2897 then LH 1813 at Barcelona
Palma de Mallorca → Barcelona → Munich
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
15:20LH 1813 to Munich leaves the gate
22 h 35 apart on the timetable, overnight
LH 1813 leaves 22 h 35 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.