SK 581 then FR 6608 at Madrid
Copenhagen → Madrid → Rabat
Timetable, Madrid time
12:00SK 581 from Copenhagen at the gate
10:10FR 6608 to Rabat leaves the gate
22 h 10 apart on the timetable, overnight
FR 6608 leaves 22 h 10 after SK 581 arrives on the timetable: more than half a day, so not a connection we count.