FR 1973 then FR 10 at Dublin
Riga → Dublin → Madrid
Timetable, Dublin time
00:45FR 1973 from Riga at the gate
17:40FR 10 to Madrid leaves the gate
16 h 55 apart on the timetable
FR 10 leaves 16 h 55 after FR 1973 arrives on the timetable: more than half a day, so not a connection we count.