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