W6 2403 then BT 110 at Arlanda
Budapest → Stockholm → Riga
Timetable, Stockholm time
21:10W6 2403 from Budapest at the gate
20:35BT 110 to Riga leaves the gate
23 h 25 apart on the timetable, overnight
BT 110 leaves 23 h 25 after W6 2403 arrives on the timetable: more than half a day, so not a connection we count.