FR 393 then FR 7467 at Madrid
Ibiza → Madrid → Tangier
Timetable, Madrid time
21:25FR 393 from Ibiza at the gate
10:50FR 7467 to Tangier leaves the gate
13 h 25 apart on the timetable, overnight
FR 7467 leaves 13 h 25 after FR 393 arrives on the timetable: more than half a day, so not a connection we count.