FR 2776 then FR 6608 at Madrid
Palma de Mallorca → Madrid → Rabat
Timetable, Madrid time
00:50FR 2776 from Palma de Mallorca at the gate
13:40FR 6608 to Rabat leaves the gate
12 h 50 apart on the timetable
FR 6608 leaves 12 h 50 after FR 2776 arrives on the timetable: more than half a day, so not a connection we count.