AZ 76 then LA 5745 at Barcelona
Rome → Barcelona → Stockholm
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
13:00LA 5745 to Stockholm leaves the gate
21 h 05 apart on the timetable, overnight
LA 5745 leaves 21 h 05 after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.