FR 726 then FR 5493 at Madrid
Palermo → Madrid → Milan Bergamo
Timetable, Madrid time
21:15FR 726 from Palermo at the gate
19:30FR 5493 to Milan Bergamo leaves the gate
22 h 15 apart on the timetable, overnight
FR 5493 leaves 22 h 15 after FR 726 arrives on the timetable: more than half a day, so not a connection we count.