FR 2052 then AT 683 at Madrid
Palma de Mallorca → Madrid → Tangier
Timetable, Madrid time
16:50FR 2052 from Palma de Mallorca at the gate
12:25AT 683 to Tangier leaves the gate
19 h 35 apart on the timetable, overnight
AT 683 leaves 19 h 35 after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.