IB 782 then FR 2389 at Madrid
Berlin → Madrid → Tetouan
Timetable, Madrid time
14:50IB 782 from Berlin at the gatealso VY 5083, AA 8506
14:05FR 2389 to Tetouan leaves the gate
23 h 15 apart on the timetable, overnight
FR 2389 leaves 23 h 15 after IB 782 arrives on the timetable: more than half a day, so not a connection we count.