FR 2064 then FR 6608 at Madrid
Palma de Mallorca → Madrid → Rabat
Timetable, Madrid time
17:20FR 2064 from Palma de Mallorca at the gate
09:20FR 6608 to Rabat leaves the gate
16 h apart on the timetable, overnight
FR 6608 leaves 16 h after FR 2064 arrives on the timetable: more than half a day, so not a connection we count.