FR 535 then FR 1976 at Dublin
Nottingham → Dublin → Riga
Timetable, Dublin time
10:45FR 535 from Nottingham at the gate
10:35FR 1976 to Riga leaves the gate
23 h 50 apart on the timetable, overnight
FR 1976 leaves 23 h 50 after FR 535 arrives on the timetable: more than half a day, so not a connection we count.