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