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