FR 7157 then FR 5910 at Dublin
Madrid → Dublin → Lanzarote
Timetable, Dublin time
20:25FR 7157 from Madrid at the gate
14:50FR 5910 to Lanzarote leaves the gate
18 h 25 apart on the timetable, overnight
FR 5910 leaves 18 h 25 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.