LH 1812 then FR 8631 at Barcelona
Munich → Barcelona → Tangier
Timetable, Barcelona time
14:30LH 1812 from Munich at the gate
09:45FR 8631 to Tangier leaves the gate
19 h 15 apart on the timetable, overnight
FR 8631 leaves 19 h 15 after LH 1812 arrives on the timetable: more than half a day, so not a connection we count.