FR 574 then DY 5502 at Barcelona
Bologna → Barcelona → Stockholm
Timetable, Barcelona time
20:15FR 574 from Bologna at the gate
14:40DY 5502 to Stockholm leaves the gate
18 h 25 apart on the timetable, overnight
DY 5502 leaves 18 h 25 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.