FR 3187 then LH 1805 at Madrid
Manchester → Madrid → Munich
Timetable, Madrid time
20:25FR 3187 from Manchester at the gate
18:35LH 1805 to Munich leaves the gate
22 h 10 apart on the timetable, overnight
LH 1805 leaves 22 h 10 after FR 3187 arrives on the timetable: more than half a day, so not a connection we count.