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