BT 109 then FR 3077 at Arlanda
Riga → Stockholm → Barcelona
Timetable, Stockholm time
19:55BT 109 from Riga at the gate
16:20FR 3077 to Barcelona leaves the gate
20 h 25 apart on the timetable, overnight
FR 3077 leaves 20 h 25 after BT 109 arrives on the timetable: more than half a day, so not a connection we count.