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