FR 7873 then FR 5054 at Madrid
Palermo → Madrid → Luxembourg
Timetable, Madrid time
12:55FR 7873 from Palermo at the gate
12:35FR 5054 to Luxembourg leaves the gate
23 h 40 apart on the timetable, overnight
FR 5054 leaves 23 h 40 after FR 7873 arrives on the timetable: more than half a day, so not a connection we count.