FR 2052 then FR 7467 at Madrid
Palma de Mallorca → Madrid → Tangier
Timetable, Madrid time
08:45FR 2052 from Palma de Mallorca at the gate
06:45FR 7467 to Tangier leaves the gate
22 h apart on the timetable, overnight
FR 7467 leaves 22 h after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.