FR 9170 then FR 3320 at Barcelona
Stockholm → Barcelona → Milan Bergamo
Timetable, Barcelona time
14:55FR 9170 from Stockholm at the gate
13:50FR 3320 to Milan Bergamo leaves the gate
22 h 55 apart on the timetable, overnight
FR 3320 leaves 22 h 55 after FR 9170 arrives on the timetable: more than half a day, so not a connection we count.