FR 4901 then W4 6013 at Fiumicino
Palermo → Rome → Madrid
Timetable, Rome time
23:00FR 4901 from Palermo at the gate
17:15W4 6013 to Madrid leaves the gate
18 h 15 apart on the timetable, overnight
W4 6013 leaves 18 h 15 after FR 4901 arrives on the timetable: more than half a day, so not a connection we count.