EI 3257 then FR 7156 at Dublin
Edinburgh → Dublin → Madrid
Timetable, Dublin time
17:40EI 3257 from Edinburgh at the gate
05:45FR 7156 to Madrid leaves the gate
12 h 05 apart on the timetable, overnight
FR 7156 leaves 12 h 05 after EI 3257 arrives on the timetable: more than half a day, so not a connection we count.