FR 574 then FR 846 at Barcelona
Bologna → Barcelona → Milan Bergamo
Timetable, Barcelona time
20:15FR 574 from Bologna at the gate
18:05FR 846 to Milan Bergamo leaves the gate
21 h 50 apart on the timetable, overnight
FR 846 leaves 21 h 50 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.