IB 5353 then FR 3166 at Barcelona
Milan → Barcelona → Palermo
Timetable, Barcelona time
11:55IB 5353 from Milan at the gate
08:30FR 3166 to Palermo leaves the gate
20 h 35 apart on the timetable, overnight
FR 3166 leaves 20 h 35 after IB 5353 arrives on the timetable: more than half a day, so not a connection we count.