FR 4641 then DY 5351 at Arlanda
Riga → Stockholm → Alicante
Timetable, Stockholm time
14:00FR 4641 from Riga at the gate
11:50DY 5351 to Alicante leaves the gate
21 h 50 apart on the timetable, overnight
DY 5351 leaves 21 h 50 after FR 4641 arrives on the timetable: more than half a day, so not a connection we count.