IB 5353 then FR 5216 at Barcelona
Milan → Barcelona → Bologna
Timetable, Barcelona time
11:55IB 5353 from Milan at the gate
10:25FR 5216 to Bologna leaves the gate
22 h 30 apart on the timetable, overnight
FR 5216 leaves 22 h 30 after IB 5353 arrives on the timetable: more than half a day, so not a connection we count.