FR 1977 then FR 5910 at Dublin
Riga → Dublin → Lanzarote
Timetable, Dublin time
20:35FR 1977 from Riga at the gate
15:45FR 5910 to Lanzarote leaves the gate
19 h 10 apart on the timetable, overnight
FR 5910 leaves 19 h 10 after FR 1977 arrives on the timetable: more than half a day, so not a connection we count.