FR 270 then LA 5749 at Barcelona
Milan → Barcelona → Bari
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
11:40LA 5749 to Bari leaves the gate
17 h 45 apart on the timetable, overnight
LA 5749 leaves 17 h 45 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.