UX 1042 then FR 725 at Madrid
Rome → Madrid → Palermo
Timetable, Madrid time
18:30UX 1042 from Rome at the gatealso AD 6905
12:55FR 725 to Palermo leaves the gate
18 h 25 apart on the timetable, overnight
FR 725 leaves 18 h 25 after UX 1042 arrives on the timetable: more than half a day, so not a connection we count.