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