FR 606 then FR 7874 at Madrid
Copenhagen → Madrid → Palermo
Timetable, Madrid time
20:50FR 606 from Copenhagen at the gate
13:30FR 7874 to Palermo leaves the gate
16 h 40 apart on the timetable, overnight
FR 7874 leaves 16 h 40 after FR 606 arrives on the timetable: more than half a day, so not a connection we count.