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