FR 3184 then FR 3193 at Barcelona
Rabat → Barcelona → Riga
Timetable, Barcelona time
00:50FR 3184 from Rabat at the gate
16:20FR 3193 to Riga leaves the gate
15 h 30 apart on the timetable
FR 3193 leaves 15 h 30 after FR 3184 arrives on the timetable: more than half a day, so not a connection we count.