FR 5132 then FR 1976 at Dublin
Basel → Dublin → Riga
Timetable, Dublin time
17:20FR 5132 from Basel at the gate
09:45FR 1976 to Riga leaves the gate
16 h 25 apart on the timetable, overnight
FR 1976 leaves 16 h 25 after FR 5132 arrives on the timetable: more than half a day, so not a connection we count.