FR 6274 then FR 3076 at Barcelona
Edinburgh → Barcelona → Stockholm
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
20:30FR 3076 to Stockholm leaves the gate
23 h 30 apart on the timetable, overnight
FR 3076 leaves 23 h 30 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.