AZ 1782 then FR 5316 at Fiumicino
Palermo → Rome → Madrid
Timetable, Rome time
11:15AZ 1782 from Palermo at the gate
05:45FR 5316 to Madrid leaves the gate
18 h 30 apart on the timetable, overnight
FR 5316 leaves 18 h 30 after AZ 1782 arrives on the timetable: more than half a day, so not a connection we count.