FR 393 then AT 1633 at Madrid
Ibiza → Madrid → Tetouan
Timetable, Madrid time
21:25FR 393 from Ibiza at the gate
19:35AT 1633 to Tetouan leaves the gate
22 h 10 apart on the timetable, overnight
AT 1633 leaves 22 h 10 after FR 393 arrives on the timetable: more than half a day, so not a connection we count.