FR 3194 then IB 5096 at Barcelona
Riga → Barcelona → Porto
Timetable, Barcelona time
00:30FR 3194 from Riga at the gate
20:25IB 5096 to Porto leaves the gate
19 h 55 apart on the timetable
IB 5096 leaves 19 h 55 after FR 3194 arrives on the timetable: more than half a day, so not a connection we count.