FR 1987 then FR 7156 at Dublin
Nantes → Dublin → Madrid
Timetable, Dublin time
16:55FR 1987 from Nantes at the gate
05:45FR 7156 to Madrid leaves the gate
12 h 50 apart on the timetable, overnight
FR 7156 leaves 12 h 50 after FR 1987 arrives on the timetable: more than half a day, so not a connection we count.