QR 3530 then FR 3193 at Barcelona
Alicante → Barcelona → Riga
Timetable, Barcelona time
18:25QR 3530 from Alicante at the gate
16:20FR 3193 to Riga leaves the gate
21 h 55 apart on the timetable, overnight
FR 3193 leaves 21 h 55 after QR 3530 arrives on the timetable: more than half a day, so not a connection we count.