FR 3077 then W6 4406 at Barcelona
Stockholm → Barcelona → Sofia
Timetable, Barcelona time
20:00FR 3077 from Stockholm at the gate
19:40W6 4406 to Sofia leaves the gate
23 h 40 apart on the timetable, overnight
W6 4406 leaves 23 h 40 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.