FR 494 then LH 979 at Dublin
Madrid → Dublin → Frankfurt am Main
Timetable, Dublin time
11:55FR 494 from Madrid at the gate
11:45LH 979 to Frankfurt am Main leaves the gate
23 h 50 apart on the timetable, overnight
LH 979 leaves 23 h 50 after FR 494 arrives on the timetable: more than half a day, so not a connection we count.