FR 7157 then FR 7797 at Dublin
Madrid → Dublin → Lanzarote
Timetable, Dublin time
09:35FR 7157 from Madrid at the gate
08:00FR 7797 to Lanzarote leaves the gate
22 h 25 apart on the timetable, overnight
FR 7797 leaves 22 h 25 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.