UX 1516 then FR 2389 at Madrid
Munich → Madrid → Tetouan
Timetable, Madrid time
13:35UX 1516 from Munich at the gate
13:15FR 2389 to Tetouan leaves the gate
23 h 40 apart on the timetable, overnight
FR 2389 leaves 23 h 40 after UX 1516 arrives on the timetable: more than half a day, so not a connection we count.