QR 3586 then BT 684 at Barcelona
Seville → Barcelona → Riga
Timetable, Barcelona time
15:55QR 3586 from Seville at the gate
14:05BT 684 to Riga leaves the gatealso IB 7848
22 h 10 apart on the timetable, overnight
BT 684 leaves 22 h 10 after QR 3586 arrives on the timetable: more than half a day, so not a connection we count.